Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
P is for Practical
 
PerlMonks  

Re^2: Sidestepping the Shebang

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 12: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
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.