in reply to Setting Environment variables in Perl

Does it show up in your env listing when you execute the system call?

For example.

#!/usr/bin/perl use warnings; use strict; $ENV{'ANTH'} = "bignuts"; system('/bin/env');

when run like

# ./env.pl

will output, amongst other things:

ANTH=bignuts

If you do this (swapping the environment variable name and value as desired), does it show up when you execute this code?

cheers,
Anth