No such thing as a small change | |
PerlMonks |
Re: Changing a unix users environmentby suaveant (Parson) |
on Oct 25, 2007 at 13:02 UTC ( [id://647163]=note: print w/replies, xml ) | Need Help?? |
if you want to use a Perl script to change your current shell environment you basically have to make a shell script that evals the output of the Perl script, then source the shell script (or run the eval manually).
Something like: shell script would have... or whatever... is a pain since you still need to output shell commands, and may or may not need to semi-colon separate them...
In Section
Seekers of Perl Wisdom
|
|