Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Perl interpretation of weird #! line

by Ultra (Hermit)
on Jan 09, 2006 at 07:16 UTC ( #521862=note: print w/replies, xml ) Need Help??


in reply to Perl interpretation of weird #! line

Was that line the first line of a Perl program?

If that's the case, then the kernel should run what is after the shebang,meaning '@@PERL@@' which I think is an error.

If not, it is just a comment.

Dodge This!
  • Comment on Re: Perl interpretation of weird #! line

Replies are listed 'Best First'.
Re^2: Perl interpretation of weird #! line
by ikegami (Patriarch) on Jan 09, 2006 at 09:35 UTC
    Perl will process any options it finds after the word "perl" on the shebang line. I believe this is case insensitive. So #!@@PERL@@ -w (for example) as the first line of the program should turn on warnings.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2022-05-17 14:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (65 votes). Check out past polls.

    Notices?