Think about Loose Coupling | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I bet you're invoking the program on the shell like:
In which case the shebang doesn't matter, and never has. It only matters if you're doing:
Or if you're executing it on a web server without an embedded interpreter (like mod_perl). The shebang is a magic number (see man magic) which tells the operating system to execute the command on the line with the given options to intepret the rest of the file. Since the perl file.pl form already has an interpeter attached to the code, the #! is considered just another comment (sort of . . . ) ---- : () { :|:& };: Note: All code is untested, unless otherwise stated In reply to Re: What's #! got to do with it?
by hardburn
|
|