Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: What's #! got to do with it?

by Coruscate (Sexton)
on Jan 16, 2004 at 16:29 UTC ( [id://321919]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Re: What's #! got to do with it?
in thread What's #! got to do with it?

Not quite. It might still try to parse that line for options. Which is why you can still get the Too late for "-T" option at taint_test.pl line 1. error when calling a program as perl file.pl with -T set on the file's shebang line.

That's why I said qq{so all the other "shebang lines"} (ie: any shebang lines following the first one) :)

Replies are listed 'Best First'.
Re: Re^3: What's #! got to do with it?
by asarih (Hermit) on Jan 17, 2004 at 12:22 UTC
    That is not true, either. For instance,
    #line 500 "Source file"
    will set tokens __LINE__ to 500 and __FILE__ to Source file. See pp. 618-619 in the Camel, 3rd ed.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://321919]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.