develooper Front page | perl.perl5.porters | Postings from February 2012

Re: Shebang line parsing mystery

Thread Previous | Thread Next
February 1, 2012 07:44
Re: Shebang line parsing mystery
Message ID:
Chas. Owens wrote:
>It is also important for people who use #!/bin/env perl

No.  "#!/bin/env perl" doesn't trigger perl's magic, because perl is
mentioned on the shebang line.  If the magic did apply, perl would feed
the script to /bin/env and you'd get an infinite loop.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About