Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^4: confused path

by tobyink (Abbot)
on Oct 09, 2012 at 10:44 UTC ( #997973=note: print w/ replies, xml ) Need Help??


in reply to Re^3: confused path
in thread confused path

system("which $prog") would be passed through the shell. exec $prog would not be. The shell could run startup script which modify $PATH.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'


Comment on Re^4: confused path
Select or Download Code
Re^5: confused path
by Anonymous Monk on Oct 09, 2012 at 14:55 UTC
    Indeed. That reminds me case of cron where $PATH may be restricted unless modified.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2014-11-24 21:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (147 votes), past polls