Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by staunch (Pilgrim)
on Jun 26, 2002 at 15:08 UTC ( #177397=note: print w/ replies, xml ) Need Help??


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


Comment on Re: Re: Some suggestions on coding style - a chance to critique
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://177397]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (12)
As of 2015-07-29 03:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls