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

Ron Savage ron at savage.net.au
Mon Dec 10 18:05:25 EST 2012


Hi Mark

On 11/12/12 08:38, Mark Stosberg wrote:
> On 12/10/2012 04:27 PM, Ron Savage wrote:
>> Hi Mark
>>
>> Ah, yes. No 'use Moo', means new() is not generated, so you don't end up
>> with a class.
>
> And the class-less-ness makes it a problem for putting BUILD in a Moo::Role?

Yes. The role has a BUILD() from when it was a class:

Can't locate object method "new" via package "Local::Config" at 
scripts/test.config.pl line 17.


-- 
Ron Savage
http://savage.net.au/
Ph: 0421 920 622


More information about the cgiapp mailing list