in reply to Re: Perl Shebang Issues?
in thread Perl Shebang Issues?

it works

why?

and what can I do to fix my shebang?

Replies are listed 'Best First'.
Re: Re: Re: Perl Shebang Issues?
by Thelonius (Priest) on Apr 21, 2004 at 01:56 UTC
    It's just your PATH variable. The shell will not search in the current directory for executables unless "." is in the PATH. If you do add . to your PATH, make sure it's at the end. I.e. PATH="$PATH:.", otherwise there are security issues. (It's better not to even do that, especially if you're running as root.)