Thank you for your kind words. I'm sure my writing falls far short of canonization potential, but I'm flattered nonetheless. :-)
chromatic has a great answer to your question. The quality and helpfulness of the people here at Perl Monks is a constant source of amazement for me. As he describes, I am utilizing auto-vivification in that terse burst of code to reverse the array's indices and values.
To find a value in an array, you must know its index. We build the hash to be able to find the indices when we know the value. All that punctuation lets us define and assign to the hash entry at once.
Good luck.
Russ
In reply to RE:(3) Many-To-Many Relationship
by Russ
in thread Many-To-Many Relationship
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |