On Thursday 15 July 2004 19:42, Michele Dondi wrote:
> >     open '<', $foo;
> >     open '>', $foo;
> >
> > is much harder to read than
> >
> >     open 'r', $foo;
> >     open 'w', $foo;
> Are you sure?!? I would tend to disagree... not that MHO is particularly
> important, I guess, but just to stress the fact that it is by large a
> subjective matter...

I have always felt that keeping it the same as shell scripting was a handy
thing, especially when I have been teaching it to others. It also makes
the ol' perl5 

        open FH, "|/usr/bin/foo";

make a lot more sense. Using something like

        open "p", "/usr/bin/foo";

just wouldn't have the same ring to it. Aside from which, it gets even worse 
when you consider how you would have to change:

        open FH, "/usr/bin/foo|";

Greg
-- 
Greg Boug ([EMAIL PROTECTED])
Systems and Network Administrator
UNICO Computer Systems
Melbourne, Australia.
Phone: +61-3-9865-9116

Reply via email to