Bareword found where operator expected at testscript.pl line 12
Your posted script does not have 12 lines. Please post the reduced script and the error messages that it produces instead of making things up.
Also, you have already been told about perlvar and %ENV. Also see Get default login environment.
In reply to Re: I need to export variable as another user
by Corion
in thread I need to export variable as another user
by rahulruns
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |