Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 lurking in the Monastery: (4)
As of 2015-07-06 04:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls