in reply to map and each?
Does that do what you want? I don't know why the quotes around the entire expression are necessary, though, or if they're a Bad Idea for any reason. (For that matter, *why* is quoting a scalar a Bad Idea? Or is it just "useless?")my $gah = join ('<br>', map {"$_ = $somehash{$_}"} keys %somehash);
--
There are 10 kinds of people -- those that understand binary, and those that don't.
|
---|
Replies are listed 'Best First'. | |
---|---|
(jeffa) 2Re: map and each?
by jeffa (Bishop) on May 27, 2002 at 14:48 UTC |