Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 wandering the Monastery: (6)
As of 2015-09-01 09:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (368 votes), past polls