Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Best practices and any way to have Perl Tidy clean it up

by fishmonger (Pilgrim)
on Apr 13, 2013 at 14:47 UTC ( #1028523=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Best practices and any way to have Perl Tidy clean it up
in thread Best practices and any way to have Perl Tidy clean it up

Since this is for the most part a personal preference there is no single correct answer, but my choice of formatting usually goes like this:

my Ssth = $dbh->prepare(q( SELECT * FROM DATABASE WHERE name = ? AND money = ? AND field = ? )); $sth->execute($name, $money, $field);


Comment on Re^3: Best practices and any way to have Perl Tidy clean it up
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2014-09-16 05:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (156 votes), past polls