S
simon
i'm looking for a snippet of perl code that will print all currently
defined perl variables (not just cgi and/or environment) and their
current value. it is ok (but not necessary) for array variables with
null values are not displayed. using debug mode is not an option.
foreach $key (sort keys(%ENV)) {print "\n$key = $ENV{$key}";}
lists the environment variables, but i want to see all defined
variables.
defined perl variables (not just cgi and/or environment) and their
current value. it is ok (but not necessary) for array variables with
null values are not displayed. using debug mode is not an option.
foreach $key (sort keys(%ENV)) {print "\n$key = $ENV{$key}";}
lists the environment variables, but i want to see all defined
variables.