Thanks for the code -- I just wanted to include an explanation for the code I posted, instead of a one-liner and some code.
Anonymous Monk sure posts a lot of questions, and I want to help him learn. ;) Besides, everyone knows that using
map scores you extra Perl Points(tm)!!
mhoward - at - hattmoward.org