in reply to Re: comparing array elements
in thread comparing array elements

OK, I'm just in awe right now that you could do that in a fraction of the time it took me to write the question!

After I'm finished weeping because of how unworthy I am, I'm going to delve into that. Thank you.

Incidentally, I've noticed that when I get stuck on something, the way out seems invariably to involve hashes. Unfortunately right now the part of my brain that may someday be really comfortable with hashes is really just a kind of empty hole. It's like when I first hear "hash" I go into a trance of some kind.

"Lost time" I think they call it...

Replies are listed 'Best First'.
Re^3: comparing array elements
by pileofrogs (Priest) on Mar 30, 2007 at 16:50 UTC

    I eventually filled that particular hole in my head with 'if I ever need to search it, use a hash'. Now I use an even simpler method. 'Always use hashes unless there's a really good reason to use a list'.

    Okay, people who know better, please throw fruit at me...