NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
explanation? (Score:1)
I definitely don't know Moose well enough, and I fail to see why it doesn't work.
Care to provide some explanation?
Reply to This
Re: (Score:1)
The attribute is not declared rw/ro or given a reader, so no method is created.
rjbs
Re: (Score:1)
Well, OK, but then the example provided is not minimal - My::Class is actually not relevant. The problem would display itself also if it was called directly on My::Base.
Re: (Score:2)
And it does display itself if called directly on My::Base. I represented it as above because that's how it manifested in our code.
So you intentionally made it misleading? (Score:1)
Is this because you secretly hate Moose?
Re: (Score:2)
I love Moose. I think it's one of the most fantastic things to happen in Perl in a long time. It's just from time to time I would do things differently, but that's OK. It's not possible to have a project this significant in which everyone will agree with every decision.