Re: Proposal: Change CGI::Snapp's base class from Hash::FieldHash to Moos (sic)
Ron Savage <[email protected]> Tue, 11 Dec 2012 10:05:25 +1100
| Newsgroups | gmane.comp.lang.perl.modules.cgi-appplication |
|---|---|
| Message-ID | <[email protected]> |
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 ##### 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/ ## ## ## ################################################################