sortdata.pl.txt
is an 'Introduction to Perl by example' using the
highly commented script of a simple Perl program. The program
sorts an input file line by line, then writes the sorted lines to a separate
output file. Could be useful as a 'template' for anyone starting to
write a Perl program for the first time.
ip2ipf.pl.txt
This may be useful to someone using IP Addresses in a database: It takes
a list of IP#s (one per line) and creates an output file with evenly spaced
IP#s of 3 digits per group using leading zeros where necessary making
it possible to sort correctly by IP Address.
ipf2ip.pl.txt
This script simply reverses the effect of that above by removing any
leading zeros from a list of IP Addresses.
Environ.cgi.txt This "CGI script" (written in Perl) can be very useful in helping you write other scripts for a particular server. It lists out all of the Environment Variables and their values of the Server; no more guessing as to which variables your particular server supports! (As usual, you may need to edit the "Shebang" line to match the location of your server's perl executable. I used: #!/usr/local/bin/perl )