in reply to problem with interpolation in an email delivered by mailx

Can you reproduce the error outside perl? Thus, print the $email_body to a file, and then use shell to cat message.txt | mailx -s "Test" wentworth@localhost ?

nevermind... ninja'd with the correct solution