[cgiapp] Proposal: Change CGI::Snapp's base class from Hash::FieldHash to Moos (sic)

Mark Stosberg mark at summersault.com
Mon Dec 10 09:13:31 EST 2012


On 12/08/2012 09:23 PM, Ron Savage wrote:
> Hi Mark
> 
> See https://rt.cpan.org/Public/Dist/Display.html?Name=Moo
> 
> As I said in my last msg on that thread, I'd better re-write the article 
> :-((.

The summary I see from there is that in a Moo Role, you should do this:

"use Moo::Role;"

not this: "use Moo; use Moo::Role",
( which would make the package both a class and a role).

   Mark


More information about the cgiapp mailing list