Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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


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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2015-10-10 20:19 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (258 votes), past polls