in reply to I need to export variable as another user
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: I need to export variable as another user
by rahulruns (Scribe) on Aug 06, 2012 at 12:19 UTC | |
by Corion (Patriarch) on Aug 06, 2012 at 12:21 UTC |