Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
There's more than one way to do things
 
PerlMonks  

Re: Embracing functions with parentheses

by Juerd (Abbot)
on Mar 21, 2005 at 20:56 UTC ( #441305=note: print w/ replies, xml ) Need Help??


in reply to Embracing functions with parentheses

What do you guys do to have a consistent style for both Perl built-in functions and your own subroutines?

Actually really preferring one style over another helps. Your way isn't bad, if that is what you like. Except, of course, that you didn't check the return values for open and close (and print). My style guide explains the way I like my Perl, in case you want to know the details.

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }


Comment on Re: Embracing functions with parentheses

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2014-04-20 16:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls