Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Perl Monk, Perl Meditation
 
PerlMonks  

Re^5: path to perl interpreter

by MidLifeXis (Prior)
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


Comment on Re^5: path to perl interpreter
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (14)
As of 2014-04-16 17:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (433 votes), past polls