Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: A shebang line conundrum

by inelukii (Sexton)
on Oct 04, 2002 at 21:06 UTC ( [id://202901]=note: print w/replies, xml ) Need Help??


in reply to Re: A shebang line conundrum
in thread A shebang line conundrum

Should have mentioned this in the original post, but the SGI machines have two versions of perl. Unfortunately, "perl" on the SGIs invokes the old 4.x version; otherwise this solution would work great.

Thanks

Replies are listed 'Best First'.
Re: Re: Re: A shebang line conundrum
by perrin (Chancellor) on Oct 04, 2002 at 21:15 UTC
    You can say this:
    #!/usr/bin/env perl
    If you make sure the right perl is first in your path, it will run that. This is all in the perlrun manpage.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-19 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found