Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2016-10-28 12:18 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (383 votes). Check out past polls.