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

Re: Embracing functions with parentheses

by Ninthwave (Chaplain)
on Mar 16, 2005 at 12:09 UTC ( #439918=note: print w/ replies, xml ) Need Help??


in reply to Embracing functions with parentheses

It is funny you use the open close example because I always use.

open (FILEHANDLE, '>', $filename); ......... close (FILEHANDLE);

Becuase I did not like open needing parens but close not. So I used this to visually help see the open and close statements.

The thing is it has worked for me but I have never known if I am setting myself up for a fall later.


"No matter where you go, there you are." BB


Comment on Re: Embracing functions with parentheses
Download Code
Re^2: Embracing functions with parentheses
by jdporter (Canon) on Mar 21, 2005 at 17:11 UTC
    Huh? open doesn't need parens.

      I re read my manual and just say duh, need is too strong of a word. Or just the wrong word my bad.

      But I stick by the sytle I use, well because I do.


      "No matter where you go, there you are." BB

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2014-07-24 06:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (158 votes), past polls