Thanks for the help, that worked. I knew it had to be something simple.
In reply to Re^2: Passing a variable to a hash by rspishock in thread Passing a variable to a hash by rspishock