in reply to Re: #! -- why doth thou exist?
in thread #! -- why doth thou exist?
You could even compile a Perl that reads the #! and replaces itself with the interpreter specified there!
Indeed, perl does this out of the box.
$ cat foo.sh #!/bin/sh echo 'Hello, World!' $ perl foo.sh Hello, World!
perlrun has the details, though I prefer Dominus' take in perliaq.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: #! -- why doth thou exist?
by itub (Priest) on Aug 26, 2005 at 03:30 UTC |