Slash Boxes
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • by jplindstrom (594) on 2009.01.13 17:43 (#66825) Journal

    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.

    • 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.