On Thu, Feb 21, 2008 at 11:09:10AM -0700, Jim Cromie wrote: > + # now add in %env mods before we spawn the $runperl process
Does this have horrible side effects on VMS? > + local %ENV = %ENV; (context being that it would be used to undo the following:) > + $ENV{$_} = $args{env}{$_} foreach keys %{$args{env}}; > + > if ($tainted) { > # We will assume that if you're running under -T, you really mean to > # run a fresh perl, so we'll brute force launder everything for you for %ENV, to include VMS, is the only way to be safe some manual "local"isation, by recording the state (!exists vs !defined vs value) for each %ENV key we want to change, and then per-key restoring them afterwards? Nicholas Clark