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.
Feature or Bug, hard to say (Score:1)
This "feature" is simply an artifact of how Moose must build classes (incrementally as each "keyword" is executed). There is also nothing (but common sense) to stop you from doing:
Of course this behavior might be suprising to base.pm users who are used to having things pushed onto @ISA instead of @ISA being replaced.
While I would not recommend multiple
withstatements in general, it is handy sometimes (as you pointed out in your post), so in the spirit of TIMTOWTDI it will almost certainly stay as a "feature" even after we fix the incremental-class-building "issue".- Stevan
Reply to This
Re: (Score:2)
I also am not sure that I would advocate removing this feature. I've not found a use case for it, though, and there are huge potential downsides. That being said, I'm loathe to change the interface of working, widely used software, so I agree with your conservative approach :)