undef %hash %hash = (%hash, split /X/ 'fooXbar'); %hash = (%hash, split /X/ 'bishXbash'); foreach(keys %hash) { print "3: $_ = $hash{$_}\n"; }
It produced:
bish = bash foo = bar
In reply to Re: Assign (key, value) to a hash w/o clobbering hash
by Khen1950fx
in thread Assign (key, value) to a hash w/o clobbering hash
by Melly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |