Jenda Krynicky wrote:
From: "John W. Krahn" <[EMAIL PROTECTED]>

Edward WIJAYA wrote:

Is there any efficient way to append each of this HoA's array into one single array, e.g:

@name = ("fred", "barney", "george", "jane", "elroy");

my @name = map @$_, @HoA{ keys %HoA };

Why not


        my @name = map @$_, values %HoA;

? :-)

Why not indeed!


John -- use Perl; program fulfillment

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to