An interesting link: Wikipedia entry on shebang(unix)

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.


In reply to Re: different first line in perl by xorl
in thread different first line in perl by greatshots

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.