On Thu, Aug 03, 2000 at 08:13:09AM -0600, Tom Christiansen wrote: > No, that's gross. A failed constructor should return undef. See my > later message. That has always been my view. But then people say "but why did it fail" and having global variables does not scale well. My comment comes mainly from $ftp = Net::FTP->new($host), may fail for several reasons. I am open to suggestions. Of course one may be move the connect out of the constructor. But that leaves the constructor being nothin more than a bless. Graham.
- 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
- Re: try/catch (Was: Re: ... Johan Vromans
- Re: try/catch (Was: Re: ... Graham Barr