[Catalyst] [OT] Universal::CAN warning from TT?

Perrin Harkins perrin at elem.com
Wed Nov 22 16:25:54 GMT 2006


Daniel McBrearty wrote:
> Some of my tests give this warning, lots :
> 
> Called UNIVERSAL::can() as a function, not a method at
> /usr/local/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi/Template/Provider.pm 
> 
> line 277

This is because you have installed chromatic's UNIVERSAL::can module. 
Maybe you installed Test::MockObject and it grabbed this too?  The 
normal UNIVERSAL.pm that ships with perl doesn't do this.

- Perrin



More information about the Catalyst mailing list