Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Perl interpretation of weird #! line

by Ultra (Hermit)
on Jan 09, 2006 at 07:16 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-19 23:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found