in reply to map it back jack
Update: Hmm, why did I get dinged negative votes for this one? Is it considered bad to make the hash assignment in the map block?my %myhash; my $v; map { $v = $_; $v =~ s/_/ /g; $myhash{$_}=$v; } @elements;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: map it back jack
by chipmunk (Parson) on Dec 16, 2000 at 03:09 UTC | |
by Hot Pastrami (Monk) on Dec 16, 2000 at 03:11 UTC | |
|
Re: Re: map it back jack
by swiftone (Curate) on Dec 16, 2000 at 03:12 UTC |