|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re^5: non-scalar hash keyby citromatik (Curate) |
| on Jun 17, 2009 at 10:33 UTC ( #772327=note: print w/ replies, xml ) | Need Help?? |
|
The problem with your suggestion is that two arrays with the same elements will give two entries in the hash (because they will have different references). Consider:
Outputs something like:
And:
Outputs:
citromatik
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||