--- MPM <[EMAIL PROTECTED]> wrote:
> Look into using the map function. It should leave you with the following
> code:
>
> map {push @arr_DBanswers, $results{$_}} keys %results;
>
> Scott
Scott,
Actually, it's usually bad to use map in void context as returns a lot data, merely to
throw it
away when you don't use the returned results. A better answer is:
my @arr_DBanswers = values %results;
Cheers,
Curtis "Ovid" Poe
=====
Senior Programmer
Onsite! Technology (http://www.onsitetech.com/)
"Ovid" on http://www.perlmonks.org/
__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]