in reply to Re^2: Help with Hash of hashes, is there a better way?
in thread Help with Hash of hashes, is there a better way?
that requires using the same bit of code again and again.
Whenever I see this phrase, deafening alarm bells and sirens go off in my head. In the vast majority of cases, any time you're using the same (or similar) chunk of code over and over again, you can probably do better with a subroutine. In the case of a sub for traversing a complex data structure, you may want to use a callback hook to provide the specific functionality.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Help with Hash of hashes, is there a better way?
by bart (Canon) on Jun 01, 2006 at 09:36 UTC |