Think about Loose Coupling | |
PerlMonks |
Re^2: Hash keys affect sortingby 0xbeef (Hermit) |
on Jul 07, 2006 at 22:00 UTC ( [id://559872]=note: print w/replies, xml ) | Need Help?? |
I'm a baby monk only... ;) Have to admit I have never seen @_ used for anything else than for function arguments, and I don't exactly understand push @data, [@_]; Using @_ seems nice and intuitive, applying it to my example gives me:
Also, if i understand you right, %identifier contains a hash of array references which I can use to access @data elements e.g. print "key $_ value: $identifier{$_}->[0]\n" for (keys %identifier); Thanks for the help! Niel
In Section
Seekers of Perl Wisdom
|
|