There were a couple reasons I went for the wholesome all-array
approach...one of them is I have just never been as
comfortable with hashes as I have been with arrays. This is
no excuse, of course, and I've been meaning to use them more.
I just always see the array algorithm first. (Can you tell
I'm new???) Second, I'd read in Mastering Algorithms with
Perl about the speed of arrays over hashes, so I felt
justified. (Webadept noted this below too.)
in reply to Re: Up for Critique
in thread Up for Critique
However, I can see the utility of hashes from many of these
examples, yours and others below, so I know I'll have to
bite this bullet soon.
Thanks for the example, tested or not. :)