There's more than one way to do things | |
PerlMonks |
Re: using values and keys functionsby Roy Johnson (Monsignor) |
on Jun 08, 2005 at 20:15 UTC ( [id://464827]=note: print w/replies, xml ) | Need Help?? |
keys, values and each will all return values in bucket order. That order is not predictable by you, but it is not truly random. Your example won't work because it's a syntax error (and if the syntax error were fixed, it would be trying to assign things to where they already are). But yes, keys and values will return corresponding lists.
Caution: Contents may have been coded under pressure.
In Section
Seekers of Perl Wisdom
|
|