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

Re^5: path to perl interpreter

by MidLifeXis (Monsignor)
on Sep 29, 2005 at 17:12 UTC ( #496179=note: print w/replies, xml ) Need Help??


in reply to Re^4: path to perl interpreter
in thread path to perl interpreter

You are both right. Under HP-UX it depends on the command used to start the script. If you start it with the full path, you will get the full path. If you start it with a relative value, you will get a relative value. That also goes for the shebang line.

$ /usr/contrib/bin/perl -e 'print $^X, "\n"' /usr/contrib/bin/perl $ perl -e 'print $^X, "\n"' perl $ uname -a HP-UX noway B.11.00 A 9000/800 xxxxxxxx two-user license $ perl -e 'print $^O, "\n"' hpux

--MidLifeXis

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://496179]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2016-12-06 17:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (112 votes). Check out past polls.