Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: #!/usr/bin/perl vs. -*- perl -*-

by Hue-Bond (Priest)
on Jan 21, 2009 at 16:07 UTC ( #737868=note: print w/ replies, xml ) Need Help??


in reply to Re: #!/usr/bin/perl vs. -*- perl -*-
in thread #!/usr/bin/perl vs. -*- perl -*-

  • however, in any event Perl will parse the #! line itself and honour switches and stuff. So, if the system doesn't do it, or you run your program by (for example) perl my_wonderful_program.pl ...., you still get the switches from the #!.

Yes but the -T switch wants to be in the command line too. perldiag explains that this is because when perl sees the -T switch, it's too late to taint some things.

--
David Serrano


Comment on Re^2: #!/usr/bin/perl vs. -*- perl -*-
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://737868]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-08-30 08:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls