On Fri, 2004-05-21 at 09:02, Geoffrey Young wrote:

> another thing that is keeping me from 100% right now is the
> classic
> 
>   my $class = ref $self || $self;
> 
> where the only way to satisfy the conditional is to call My::Foo::bar()
> using functional syntax instead of a method syntax.

Wouldn't calling that constructor on an existing object satisfy the
conditional?

Granted, I'd *never* do that in real code, so I prefer to bury that
yucky idiom.

I'm just sayin',
-- c

Reply via email to