On 03/01/2008, Ovid <[EMAIL PROTECTED]> wrote: > I mentioned that we removed UNIVERSAL::can because of bugs introduced > by global behavior changes, but to be fair to chromatic, I should > explain that this is because of code in Template::Timer: > > perl -MUNIVERSAL::can -MTemplate::Timer -e 1 > Died at lib/perl5/Template/Timer.pm line 63. > Compilation failed in require. > BEGIN failed--compilation aborted. > > The problem is this line in Template::Timer: > > my $super = __PACKAGE__->can("SUPER::$sub") or die; > > This is OO code and that should actually read: > > my $super = __PACKAGE__->can($sub) or die;
Er, i dont see how it could. Then $super would have a reference to its own method and not its parents. Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"