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.
Very Odd (Score:1)
Regarding performance, you should try making the classes immutable, it gives a serious performance boost at runtime for only slightly more of a compile time cost.
Your example has some syntax issues. To start with, "has" doesn't take a HASH-ref of options. Also, you are missing the "use Moose" line in ::Forum, so that ...
Should beAs for what else is going on with the error, I am at a loss. I have done this same thing 1000 times and I *know* we are testing this functionality. Perhaps if you can provide a small test case that illustrates the issue, that would be helpful.
- Stevan
Reply to This
Re: (Score:1)
And... oh, hey, you're right. Curly braces *again.* That's it, I'm switching my tty font from Courier New to... um... let's try Lucida Console.
Interesting, though. W::R::Forum can play with the 'has' stuff just fine, curly braces and all. That was what threw me. And I just checked (with Lucida!) and all my other has's use parens just fine. And none of them use 'extends', which was why I figured that