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

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?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (12)
As of 2016-10-25 14:19 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (320 votes). Check out past polls.