[cgiapp] Proposal: Change CGI::Snapp's base class from Hash::FieldHash to Moos (sic)
    Mark Stosberg 
    mark at summersault.com
       
    Mon Nov 26 09:51:55 EST 2012
    
    
  
On 11/21/2012 07:46 PM, Ron Savage wrote:
> Hi Mark
> 
> On 22/11/12 01:25, Mark Stosberg wrote:
>>
>>>> What I have now is for Moose and a bit project-specific, but I plan to
>>>> make CPAN-ready Moo-based variants at some point.
> 
> Just for record, you can't use a BUILD sub with Moo. I'm just trying to 
> write work-around code now, using the construct:
> 
> has x => ();
> around 'x' => sub{...}
> 
> But it's a pain.
Ron,
I'm confused. The docs imply that you can:
https://metacpan.org/module/Moo#BUILD
Perhaps you mean you can't use one in a Moo Role? I haven't explored
that yet.
   Mark
    
    
More information about the cgiapp
mailing list