Oh, now I notice that you've mixed your coding metaphors a bit.
my $cmd = "env APPLEJACK=TRUEBLUE $^X $0"; ... exec($cmd, @ARGV);
By using the 'list' form of exec, you've told Perl to interpret $cmd as only a path to an executable, not as some string to be interpreted by a shell as 4 different words.
- tye
In reply to Re^2: setting PERL_PERTURB_KEYS & PERL_HASH_SEED in a perl file (bug)
by tye
in thread setting PERL_PERTURB_KEYS & PERL_HASH_SEED in a perl file
by gravid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |