Skip Menu |

This queue is for tickets about the Class-DBI CPAN distribution.

Report information
The Basics
Id: 24717
Status: open
Priority: 0/
Queue: Class-DBI

Owner: Nobody in particular
Requestors: mschwern [...]

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)

Subject: UNIVERSAL::can() called as a function.
Download (untitled) / with headers
text/plain 428b
The UNIVERSAL::can module (loaded by Test::MockObject) is "helpfully" informing me of this... Called UNIVERSAL::can() as a function, not a method at /usr/lib/perl5/site_perl/5.8.0/Class/ line 265 Technically it should be calling can on the object rather than as a method. eval { $_->can("id") } and $_ = $_->id for @pk_values; Or just eliminate the ->can() call entirely. for(@pk_values) { eval { $_ = $_->id } }
Download (untitled) / with headers
text/plain 226b
I am also seeing this "helpful" message quite a bit. It really makes it difficult to read the output of my test files. Is there any chance this might be fixed in a future release? Seems like an easy resolution. Thanks, -Bob

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to