The {1} quantifier in my $KEY = qr/>(A-Z{1})/; doesn't serve any purpose.
Mmmm... Yes, I know. I promise I had a good reason to do this, but I cannot remember it right now. Maybe I misunderstood for a moment the greedy effect, I was tired :-).
...your solution doesn't offer the dashes for those cases where no records were found for a given letter
I thought the dashes were a way to specify there could be more data not specified in the example, like ellipsis. Moreover, I saw a similar effect with spaces and I "fixed" it; it's not hard to add them, if they're needed.
In reply to Re^3: hash of hashes?
by txixco
in thread hash of hashes?
by sanahmed
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |