Stories
Slash Boxes
Comments
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.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • 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.

    • by jrockway (7171) on 2009.01.19 15:55 (#66958) Journal

      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.