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