in reply to Re: Parsing a hash table for only variables that are uppercase.
in thread Parsing a hash table for only variables that are uppercase.
delete $runset{$_} for ( grep { !/^[A-Z]+$/ } keys %runset ); %merged_hash = ( %description, %runset );
This code will delete the non-uppercase key-value pairs in the %runset and then merge the two hashes - Any values in %description with an identical key-name in %runset will be replaced with the values in the latter (based on left-to-right execution).
perl -e 's&&rob@cowsnet.com.au&&&split/[@.]/&&s&.com.&_&&&print'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
OT your .sig
by mAsterdam (Sexton) on Mar 24, 2002 at 14:26 UTC | |
by rob_au (Abbot) on Mar 24, 2002 at 22:48 UTC |