in reply to Re: Hash of Arrays (populating and iterating)
in thread Hash of Arrays (populating and iterating)
Or this way -- why bother with indexes at all?
foreach $animal ( @{ $animals{pets} } ) { push ( @some_animals, $animal ); }
Nobody says perl looks like line-noise any more
kids today don't know what line-noise IS ...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Hash of Arrays (populating and iterating)
by USP45 (Novice) on Mar 06, 2008 at 14:41 UTC |
In Section
Seekers of Perl Wisdom