in reply to
map hash instead of map array
map { $hash{$_} = 'whatever' } keys %hash;
If you don't use keys on the hash, it will use hash like a list.. Giving key then value, key then value...
-Lee
"To be civilized is to deny one's nature."
Comment on
Re: map hash instead of map array
Download
Code
Replies are listed 'Best First'.
Re: Re: map hash instead of map array
by
hakkr
(Chaplain)
on Apr 04, 2002 at 12:16 UTC
thanks was suffering mental blockage
[reply]
In Section
Seekers of Perl Wisdom