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.