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.

Reply via email to