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.
In reply to Re: perl Expect; "set home"
by Fletch
in thread perl Expect; "set home"
by Stoomy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |