Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^5: path to perl interpreter

by MidLifeXis (Monsignor)
on Sep 29, 2005 at 17:12 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://496179]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-25 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found