Also just to add here - these two sites can be very helpful in figuring out what certain Perl code does:
http://perldoc.perl.org/
and
http://search.cpan.org
In reply to Re: code explanation by tokpela in thread code explanation by Anonymous Monk