On Thu, Aug 03, 2000 at 03:19:35PM +0100, Graham Barr wrote: > 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. Here's a modification of my previous evil suggestion: Have a global (existing everywhere, all the time) "error" thing where people can put error information. Perl uses it and module authors could too. This would be similar to $!, only not tied to errno. $fh = open("file") or die "$ERROR"; $ftp = new Net::FTP->new($host) or die "$ERROR"; # assigned in Net::FTP just brainstorming, -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]
- Re: try/catch (Was: Re: RFC: Modify open(... Tom Christiansen
- Re: try/catch (Was: Re: RFC: Modify open(... Graham Barr
- Re: try/catch (Was: Re: RFC: Modify open(... Nathan Wiger
- Re: try/catch (Was: Re: RFC: Modify open(... Tom Christiansen
- Re: try/catch (Was: Re: RFC: Modify open(... Nathan Wiger
- Re: try/catch (Was: Re: RFC: Modify open(... Tom Christiansen
- Re: try/catch (Was: Re: RFC: Modify open(... Nathan Torkington
- Re: try/catch (Was: Re: RFC: Modify open(... Tom Christiansen
- Re: try/catch (Was: Re: RFC: Modify open(... Peter Scott
- Re: try/catch (Was: Re: RFC: Modify open(... Steve Simmons
- Re: RFC: Modify open() and opendir() to r... Jonathan Scott Duff
- Re: RFC: Modify open() and opendir() to return handles Nathan Wiger
- Re: RFC: Modify open() and opendir() to return ha... Tim Jenness
- Re: RFC: Modify open() and opendir() to retur... Nathan Wiger
- Re: RFC: Modify open() and opendir() to r... Tim Jenness
- Re: RFC: Modify open() and opendir() to r... Nathan Wiger
- Re: RFC: Modify open() and opendir() to return ha... Tom Christiansen
- Re: RFC: Modify open() and opendir() to retur... Nathan Wiger