warn is a debugging function that prints a message to the STDERR (Not print, 
which can print to anything and prints to STDOUT by default) and appends your 
message with a line number and such. It's just like die, that doesn't exit. 
Another difference is print uses $_ by default, and warn uses $@ by default.

-will
(the above message is double rot13 encoded for security reasons)

Most Useful Perl Modules
-strict
-warnings
-Devel::DProf
-Benchmark
-B::Deparse
-Data::Dumper
-Clone (a Godsend)
-Perl::Tidy
-Beautifier

Reply via email to