Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Writing code that looks nice

by JavaFan (Canon)
on Apr 12, 2010 at 13:00 UTC ( [id://834262]=note: print w/replies, xml ) Need Help??


in reply to Writing code that looks nice

I'd keep it as is. No need to introduce an extra scope. And why add the default argument for print, but not for -d?

Folks, what do you think, what is the most correct style of perl code?
Are you sure you're posting in the correct forum? Perhaps you're looking for the Python one. Perl embraces the "there's more than one way of doing things". It's the Python philosophy of there being only one right way of doing things.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-25 04:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found