in reply to Some suggestions on coding style - a chance to critique
I'm a beginner at Perl too, so I'm not sure if my suggestions are quite relevant. However, I was surprised to see this sort of code:
my $redirect = "http://www.yoursite.com"; my $sendmail = "/usr/sbin/sendmail"; my $subject = "Form Submission Results";
I have always thought that I should avoid double quoted strings in expressions like these, because they take longer to parse (Perl has to do various substitutions, right?). So I would use single quoted strings in these examples. Please correct me if I am wrong, as I would be interested to read some discussion about this.
In Section
Meditations