Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Re: Never: open()

by bart (Canon)
on May 13, 2003 at 17:59 UTC ( [id://257852] : note . print w/replies, xml ) Need Help??

in reply to Re: Never
in thread Never-to-use Perl features?

The first argument of open()? I have some other problems with it:
  • Single argument open — silliness beyond belief
  • Combined argument for open mode and filepath (the 3-argument open() remedies that)
Anyway, I feel it would make more sense that open() would return a filehandle instead of modifying one of its arguments and return a flag. But then, Perl didn't work like that in the old days.