in reply to creating %ENV varibles
Sure: $ENV{VARIABLE_NAME} = [value];
%ENV is a read-write hash.
perl -e 'print "How sweet does a rose smell? "; chomp ($n = <STDIN>); +$rose = "smells sweet to degree $n"; *other_name = *rose; print "$oth +er_name\n"'
|
|---|