in reply to Re: Problem using Backtick having quotes
in thread Problem using Backtick having quotes
Because the %ENV hash is not propagated to the shell..This works fine for me:
#!/usr/bin/perl $ENV{foobar} = "baz"; my $res = `echo \$foobar`; print $res; #prints 'baz'
|
|---|