If you mean you want to modify the parent shell's environment it's because you can't (directly) do that; see perldoc -q environment. The work around is to output what the parent should set (e.g. print "setenv PEOPLE 5033\nsetenv FOO bar\n") and then have the parent shell eval that output instead.
In reply to Re: Problems with Setenv within Perl
by Fletch
in thread Problems with Setenv within Perl
by EchoAngel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |