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

Re: perl Expect; "set home"

by Fletch (Chancellor)
on May 18, 2011 at 17:08 UTC ( #905517=note: print w/replies, xml ) Need Help??


in reply to perl Expect; "set home"

Not that it's a perl problem but the -H option to sudo is probably what you want; that or use the correct shell syntax to change the HOME environment variable rather than making something up.

The cake is a lie.
The cake is a lie.
The cake is a lie.

Replies are listed 'Best First'.
Re^2: perl Expect; "set home"
by Stoomy (Novice) on May 18, 2011 at 18:21 UTC
    Thanks flex/fletchvault,
    The -H option to sudo did what I needed.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://905517]
help
Chatterbox?
[Corion]: I'm afraid that I'll turn off dk some day with all my bug reports or stuff that could be documented better ;-)

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













    Results (150 votes). Check out past polls.