in reply to different first line in perl
However that doesn't answer the question, "is that a appreciatable line in perl" Well I ain't got a clue what "a appreciatable line" is, but I'll say this:
As the wikipedia entry mentions, the shebang is part of the shell not perl. Like most of the rest of life there is more than one way to do it. The usual way is #!/usr/bin/perl However your shebang seems to work on your system (it doesn't on mine) so if it ain't broke don't fix it. If you're planning on moving the scripts to another system you should be prepared to have to change that line. Someone else mentioned another non-standard shebang line using env. That one also fails on my system. If you're looking for portability between systems then stick with the standard way. If not you're free to use whatever works (in a secure way) on your system.
|
|---|