Calling UNIVERSAL::can() as a function is allowed.

Dirk Koopman djk at tobit.co.uk
Wed Nov 21 23:25:55 GMT 2007


chromatic wrote:
> I figured out the other day that the Right Approach was probably to warn only 
> if there's an overridden can/isa that Broken Code doesn't call.  I'm going to 
> make that the default behavior of UNIVERSAL::can and UNIVERSAL::isa very 
> shortly, perhaps even this afternoon.
> 

Remind me again why someone would, in the reasonably normal course of OO 
programming, want to override either can() or isa()? This is now purely 
for my education BTW as, in my case (the start of this thread), 
overriding isn't occurring and couldn't easily anyway.


More information about the london.pm mailing list