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 ##### CGI::Application community mailing list ################ ## ## ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp ## ## ## ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## ## Wiki: http://cgiapp.erlbaum.net/ ## ## ## ################################################################