Thanks wink, I was just about to post to say I realized my code was actually correct and it will print out 1 (meaning it's true) if there was a match, basically what you said.
Thanks,
Dru
Perl, the Leatherman of Programming languages. - qazwart
Comment on Re^2: Access the Keys of a Hash Reference Without a For Loop