in reply to Re: Assign (key, value) to a hash w/o clobbering hash
in thread Assign (key, value) to a hash w/o clobbering hash
Update: argh, see mreece's reply to this post
Regardless, the map is completely redundant here, the following two are equivalent.
%hash = map { split( /X/, $_ ) } ( "fooXbar","bishXbash"); %hash = split /X/, ("fooXbar","bishXbash");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Assign (key, value) to a hash w/o clobbering hash
by mreece (Friar) on Sep 28, 2006 at 14:45 UTC | |
|
Re^3: Assign (key, value) to a hash w/o clobbering hash
by wazoox (Prior) on Sep 29, 2006 at 15:45 UTC |