in reply to setting enviornment variables for parent process

Not really : perldoc -q environment
You're doing a lot of unnecessary work here too, why not make use of the %ENV variable or Env module?
setantae@eidosnet.co.uk|setantae|http://www.setantae.uklinux.net
  • Comment on RE: setting enviornment variables for parent process