$ENV{BASH_ENV} =~ /^(.*)$/; local $ENV{BASH_ENV} = $1;
I had to add these lines on a RH 7.1 Linux box to get it to work when running a shell command.
Logged In: YES user_id=282031
A few questions....
What perl version?
What was the error you received prior to that change?
Logged In: YES user_id=108080
sorry, my initial comment wasn't very useful :)
perl 5.6.1
The error was "Insecure environment $ENV{BASH_ENV} when running with -T"
I don't know very much about perl - but the above seemed to match what I found on google.
Log in to post a comment.
Logged In: YES
user_id=282031
A few questions....
What perl version?
What was the error you received prior to that change?
Logged In: YES
user_id=108080
sorry, my initial comment wasn't very useful :)
perl 5.6.1
The error was "Insecure environment $ENV{BASH_ENV} when
running with -T"
I don't know very much about perl - but the above seemed to
match what I found on google.