in reply to Re: Uninitialized filehandles not as advertised?!
in thread Uninitialized filehandles not as advertised?!

And die-ing on a failed open call would probably be better than returning something that some other piece of code may try to use as a filehandle and mysteriously barf on.

Replies are listed 'Best First'.
Re^3: Uninitialized filehandles not as advertised?!
by ikegami (Patriarch) on May 26, 2008 at 20:42 UTC
    Not at all. It's different, not better or worse. For example, open returns an error code and not an exception. Why should his open wrapper be any different?