See Shell::GetEnv or RE (tilly) 1: Get default login environment.
You will likely have to modify how you call your other command:
my $environment = readpipe("set WALLET=NO && set"); # parse environment from $environment
In reply to Re: Run system command in same context of the script itself
by Corion
in thread Run system command in same context of the script itself
by igorle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |