On Fri Jun 22 12:14:55 2012, doy wrote: > I've pushed a fix for this to the doy/universal branch. It's pretty > straightforward, but some of the tests in t/op/universal.t were testing > for this behavior explicitly (checking that can() was false before a > package existed and true afterwards), so I'm not sure if this is > reasonable to just change directly. I am in favor of making this change > though, so any input is welcome. I think $class->can('can') is a fairly popular way to see whether a class is loaded. -- Father Chrysostomos --- via perlbug: queue: perl5 status: open https://rt.perl.org:443/rt3/Ticket/Display.html?id=47113Thread Previous | Thread Next