in reply to print problem

Apparently all your variables have carriage returns on the end of them. chomp them.