Hi Mark On 27/11/12 01:51, Mark Stosberg wrote: > 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.
My mistake. I got confused between different modules' capabilities. I've finished the article. I will proof-read it again and post it to blogs.perl.org this morning. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622 ##### 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/ ## ## ## ################################################################