http://www.perlmonks.org?node_id=985687


in reply to Re^2: I need to export variable as another user
in thread I need to export variable as another user

Perl tells you line numbers in its error messages. Consider reading these error messages and looking at the lines in your original script that correspond to these line numbers.

As you keep your original script hidden from us, and don't tell us what line numbers Perl tells you for the script you posted, we cannot help you.