Useful Perl commands

Back To Mike's WebToys Page!

This page is analagous to my useful UNIX commands page, in that both are crib sheets of stuff that I've found to be useful. Only this time, it's for Perl (the Practical Extraction and Report Language), a nifty scripting language which is pretty powerful (the latest version, 5, is even Object-Oriented)

bless
chomp
chop
closedir
defined
die
grep
join
keys
last
If we're in a loop, then exit immediately. Sorta like C's "break" statement
local
my
next
Skip from the current point in a loop to the top of the loop for the next iteration
opendir
package
pop
push
readdir
ref
shift
split
tr
unshift
values
warn