On Thu, Aug 03, 2000 at 06:57:27AM -0600, Tom Christiansen wrote: > >On Thu, Aug 03, 2000 at 06:40:30AM -0600, Tom Christiansen wrote: > >> >Modify open() and opendir() to return filehandle objects > >> > >> Here are some things that that will be a problem for: > > >I did not see any that would be a problem. > > It's not as convenient. Are you saying that piped opens returning a "filehandle" object makes testing for failure more troublesome? If so, I have an evil proposal for you ... Let's make an "error" object (I hate to use that term) that's *always* false but has some state we can get at. This thing would encapsulate $!, $?, and friends. Modules (like DBI) could even add state, but it would still be false. -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]
- RFC: Modify open() and opendir() to return handles Nathan Wiger
- Re: Don't reply! RFC: Modify open() and opendir()... Nathan Wiger
- Re: RFC: Modify open() and opendir() to return ha... Bart Lateur
- Re: RFC: Modify open() and opendir() to retur... Tom Christiansen
- Re: RFC: Modify open() and opendir() to retur... Johan Vromans
- Re: RFC: Modify open() and opendir() to return ha... Tom Christiansen
- Re: RFC: Modify open() and opendir() to retur... Graham Barr
- Re: RFC: Modify open() and opendir() to r... Tom Christiansen
- Re: RFC: Modify open() and opendir() ... Jonathan Scott Duff
- Re: RFC: Modify open() and opend... Tom Christiansen
- Re: RFC: Modify open() and o... Graham Barr
- Re: RFC: Modify open() a... Tom Christiansen
- Re: RFC: Modify open() a... Graham Barr
- Re: RFC: Modify open() a... Tim Jenness
- Re: RFC: Modify open() a... Peter Scott
- Re: RFC: Modify open() a... Johan Vromans
- Re: RFC: Modify open() a... Steve Simmons
- try/catch (Was: Re: RFC:... Johan Vromans
- Re: try/catch (Was: Re: ... Hildo Biersma