On 11-03-30 08:34 AM, Katie T wrote:
"perl -c" will check your script without executing it.
Not exactly. From `perldoc perlrun`:
-c causes Perl to check the syntax of the program and then exit without
executing it. Actually, it will execute "BEGIN", "UNITCHECK", "CHECK",
and "use" blocks, because these are considered as occurring outside the
execution of your program. "INIT" and "END" blocks, however, will be
skipped.
--
Just my 0.00000002 million dollars worth,
Shawn
Confusion is the first step of understanding.
Programming is as much about organization and communication
as it is about coding.
The secret to great software: Fail early & often.
Eliminate software piracy: use only FLOSS.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/