Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the autobox CPAN distribution.

Report information
The Basics
Id: 49273
Status: resolved
Priority: 0/
Queue: autobox

People
Owner: Nobody in particular
Requestors: hisso [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.55
Fixed in: (no value)



Subject: UNIVERSAL::can generates warning about can being called as a function, not a method in autobox
When running some tests in a Catalyst application I get many warnings about autobox.pm's use of the can() function: Called UNIVERSAL::can() as a function, not a method at [...]/lib/perl5/darwin-thread- multi-2level/autobox.pm line 105 Called UNIVERSAL::isa() as a function, not a method at [...]/lib/perl5/darwin-thread- multi-2level/autobox.pm line 106 Using autobox v2.55 and UNIVERSAL::can v1.15.
I've made some comments on this issue in RT #49704. I'm not sure whose responsibility this is. (I *could* write some XS to scrounge around in the calling optree... but that's not a good solution.)
Thanks for reporting this. It should be fixed in autobox 2.60. chocolateboy
On Wed Mar 17 12:48:23 2010, CHOCOLATE wrote: Show quoted text
> Thanks for reporting this. It should be fixed in autobox 2.60.
Confirmed -- the warnings have gone! Thanks for fixing! Appreciate it.