Skip Menu |

This queue is for tickets about the Acme-LOLCAT CPAN distribution.

Report information
The Basics
Id: 45641
Status: resolved
Priority: 0/
Queue: Acme-LOLCAT

People
Owner: Nobody in particular
Requestors: bobtfish [...] bobtfish.net
Cc:
AdminCc:

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



Subject: Acme::LOLCAT is broken, cannot has!
Date: Sat, 2 May 2009 11:30:57 +0100
To: bug-Acme-LOLCAT [...] rt.cpan.org
From: Tomas Doran <bobtfish [...] bobtfish.net>
perl -MAcme::LOLCAT -e'print Acme::LOLCAT->can("has");' does not return any output, as there is no has function defined in the Acme::LOLCAT package. Please find attached a patch with tests for, and a correct of this issue. Cheers t0m P.S. I tend to use Acme::LOLCAT as my example of why you should use namespace::clean, or namespace::autoclean, especially in Moose classes (Moose importing you a 'has' keyword etc). I like this example, however it's currently broken, ergo patch to fix...

Message body is not shown because sender requested not to inline it.

Acme::LOLCAT v0.0.5 has been released to CPAN and closes this shameful oversight. Not only can Acme::LOLCAT->can('has'), but it also can->('haz').