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.$ 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
Staunch
In reply to Re: Re: Some suggestions on coding style - a chance to critique
by staunch
in thread Some suggestions on coding style - a chance to critique
by emilford
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |