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.
Depends (Score:1)
Well that probably depends on a whole lot of things that aren't evident from the examples or your description.
So I have no clue.
Reply to This
Re: (Score:1)
Why not:
return grep { $_->can('new') } $self->domain_classes;
Also, it's somewhat silly to use the word "class" for something that's not a class. (An abstract class is not a class.) When you think "abstract class" and you are a Perl programmer, you really want roles.