Ah, it's been pointed out that I do in fact have a typo in my code:
In line 9, change "$indices{$line}" to "$indices{$key}".
I'll update my previous post to fix the code.
Dave
In reply to Re^5: Matching hashes
by davido
in thread Matching hashes
by ada
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |