Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by Hue-Bond (Priest)
on Jan 21, 2009 at 16:07 UTC ( [id://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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (1)
As of 2024-04-25 19:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found