On Fri, Feb 23, 2007 at 11:01:58AM -0500, David Golden wrote:
> An alternative hack for the shebang line I've seen (for most *nix
> systems, at least) uses an absolute path to "env" as a way of running
> "perl" using the current $PATH:
>
> #!/usr/bin/env perl -w
$ /usr/bin/env
bash: /usr/bin/env: No such file or directory
Now OK, that's on Unicos, but I'm sure I've come across the same problem
on one of {some random Linux distro|OS X|*BSD|Sun}. $^X trumps env, but
it looks like Probe::Perl trumps $^X, at least on VMS.
--
David Cantrell | Godless Liberal Elitist
Blessed are the pessimists, for they test their backups