Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Sidestepping the Shebang

by Sprad (Hermit)
on Nov 02, 2005 at 17:06 UTC ( [id://505010]=note: print w/replies, xml ) Need Help??


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:>*

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://505010]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2025-05-22 05:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.