in reply to Send e-mail using perl

double quotes ( "myemail@example.com" ) interpolate, while single quotes ( 'myemail@example.com' ) do not

Use single quotes, perlintro and Modern Perl explain interpolation.

Replies are listed 'Best First'.
Re^2: Send e-mail using perl
by BillKSmith (Monsignor) on Aug 07, 2012 at 13:32 UTC
    use strict; would all most certainly catch this error!