Hi,
Hello,
Suppose I have this Hash of array:
%HoA = {
If you had warnings enabled then that would have produced a warning. It should be either:
%HoA = ( ... );
Or:
$HoA = { ... };
A => ["fred", "barney"], B => ["george", "jane", "elroy"], };
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 };
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>