http://www.perlmonks.org?node_id=177397


in reply to Re: Some suggestions on coding style - a chance to critique
in thread Some suggestions on coding style - a chance to critique

$ perl -MO=Deparse my $redirect = "http://www.yoursite.com"; my $sendmail = "/usr/sbin/sendmail"; my $subject = "Form Submission Results"; my $redirect = 'http://www.yoursite.com'; my $sendmail = '/usr/sbin/sendmail'; my $subject = 'Form Submission Results'; - syntax OK
I believe this is optimized away, so I think it really is only a matter of preference. I personally prefer to use single quotes when possible though.


Staunch