Thank you, jdporter for a right solution! I was trying to use @_ in the sub and not getting what I thought I would. I was passing variables to the sub because, coming from another language, I thought scope would be an issue referencing the variables that were modified in a different block. Thanks!
Cheers!
--p
Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats.