Perl Language World

Welcome to Perl world on Planet Source Code! This site is one of the Internet's largest online databases of free code! You can search for particular code, simply browse by category, or just peruse! The site is filled with programs, .zip files, examples, snippets, and tutorials so feel free to jump on in!

For all you masochists, here is a list of all the code in the Planet Source Code database for this world, all 74,273. lines of it!!!

Calender Displays a calender using tables, It highlights the current date & shows day, month, year...
quikpoll This script lets you make a poll with 4 choices, It shows the results with an image bar graph & percentage indicator as well as telling you how many votes...
Encrypt Password This Demonstrates the use of the crypt function relating to passwords, It also uses the chomp, open, die & foreach functions, The code is very simple & easy to understand for novices...
Rock, Paper, Scissors w/ GUI This program allows the user to play a simple, random game of Rock Paper Scissors against the computer, have their score kept, and get a message appropriate to their score (read: canned insult) at the end of the game.
A Multi Temp Converter (Perl/Tk) This is a simple Perl/Tk application that acts as a temperature converter between 5 different methods of measurement. So you can convert back and forth.
Perl/CGI Security This Article talks about the basics of Perl/CGI security and shows examples of exploiting security holes and avoiding them. This tutorial was done is Word so to view the images please use word
simplae maths program it works out sums like add divide subtract sqaure and double
Moving Averages This code calculates moving averages in a data set. I just knocked it up now while doing my maths homework :) You just provide the first "x" numbers ("x" being the number of points in your moving average) and it works from there, shifting the obselete value off the front and pushing the new one on the end. I find this a lot less tedious than re-punching the entire equation into a calculator every time :)
update image script - mysql This Perl CGI script displays one entire database record in an HTML table. All JPEG/GIF images stored within the record are displayed in-line with the rest of the data from the record. Each MySQL column containing an image includes a menu which enables the user to Keep, Replace or Remove the image data. Non-image binary data types are also supported.
Simple FTP Client This application is a simple FTP Client. Although it may not be the best one out, it was programmed with the main purpose of showing beginners how to handle server responses, to start programming their own clients.
Simple Search Application This code is a simple search in flat file database.
QB Passing Calculator This is a Football Quarterback Passing Calculator.This application will calculate completion percentage, yards per Attempt, yards per completion, and passing Efficiency
Sending Email with Perl/Tk This is a simple Perl/Tk application that will send Email using the Net::SMTP module. So if you ever wondered about Creating a GUI to send email, then check this out.
Thrown Text Can you tell what's written there? Try running the code.
CGI execute Work-Around With most SSI (Server Side Includes) hosts, you can't use the CGI execute command using SSI, so here's a sneaky way to work-around the problem using a javascript and image tag to execute the CGI script each time the web page is displayed.
Multiple Files delete I came up with this problem at my work. I needed to delete more than 1000 files at once, but rm -f *.* would not do it cause of the quantity, so i made this little program. Great for beginers.