Thank you for pointing out the difference between any() and first(). Certainly something I'll remember :)
I've put an update in my first response to the OP pointing to your post without changing my code. The post you responded I'm leaving exactly how it is as to not distort your fine examples.
Also, I swore I tried my code without the extra assignment to $_, but I must have had something else wrong and changed two things at once (including the '$_ =') in an attempt to fix it. I know better than to change too much, but I digress :) Cheers!