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 be ...
As for what else is going on wit
Re:Very Odd (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 was the culprit.
Thanks muchly. And I'll look at the immutable thing, too.
Reply to This
Parent