in reply to system vs backticks
When I invoke "perl foo.pl" from my terminal, I get:foo.pl: $ENV{FOO} = 'bar'; system 'perl bar.pl'; print `perl bar.pl`; bar.pl: print "I got $ENV{FOO}\n";
I got bar I got barSo maybe what you're actually seeing is something different? Perhaps a bit of code would help.
|
|---|