Hi Mark On 11/12/12 01:13, Mark Stosberg wrote: > On 12/08/2012 09:23 PM, Ron Savage wrote: >> Hi Mark >> >> See https://rt.cpan.org/Public/Dist/Display.html?Name=Moo >> >> As I said in my last msg on that thread, I'd better re-write the article >> :-((. > > The summary I see from there is that in a Moo Role, you should do this: > > "use Moo::Role;" > > not this: "use Moo; use Moo::Role", > ( which would make the package both a class and a role).
In theory. But I found the code won't compile if I /just/ use 'use Moo::Role'. I'll fabricate a sample (again) shortly. I forget now, but I think it was my use of BUILD(), again, which caused problems. -- 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/ ## ## ## ################################################################