On 11-02-22 09:57 AM, terry peng wrote:
Hi,

when I put this line in a script say a.pl:

#!/usr/bin/perl -wl
...

And later I run it from the command line:
perl a.pl

so, does this make perl ignore the "wl" switch in the script?

Thanks.


No, perl reads the shebang line and sets the options.


--
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/


Reply via email to