in reply to Re: Sidestepping the Shebang
in thread Sidestepping the Shebang

Sure thing.

Shebang line:
#!/usr/bin/perl

Command line:
/tmp/perl -x /home/sprad/test/broken.pl

This is on a Linux box. Red Hat 7.2, if it makes a difference. Bash shell. I've tried it with and without the -x flag, no difference.

---
A fair fight is a sign of poor planning.

Replies are listed 'Best First'.
Re^3: Sidestepping the Shebang
by Perl Mouse (Chaplain) on Nov 02, 2005 at 17:16 UTC
    That means perl shouldn't fire up "/usr/bin/perl", so that isn't the problem. I'm afraid I can't further help you - I don't think I can replicate your behaviour (I often run with a different version of perl than mentioned on the she-bang line, and never have problems with it.)
    Perl --((8:>*