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;

That makes the problem go away.  Barring a local fix or the author
fixing this, eliminating UNIVERSAL::can made the problem go away.

David Wheeler reported this problem earlier at
http://rt.cpan.org//Ticket/Display.html?id=16805

Cheers,
Ovid

--
Buy the book  - http://www.oreilly.com/catalog/perlhks/
Perl and CGI  - http://users.easystreet.com/ovid/cgi_course/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog     - http://use.perl.org/~Ovid/journal/

Reply via email to