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

Re: Embracing functions with parentheses

by Ninthwave (Chaplain)
on Mar 16, 2005 at 12:09 UTC ( [id://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 (Paladin) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://439918]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-03-29 11:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found