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.
  • Thanks for the feedback: I'm interested that you're thinking about extending it to tag other things - how are you tackling this? Subclassing Perl::Tags::Naive and replacing get_parsers and adding new parsers there? (I can change get_parsers to use $self->can('package_line') instead of \&package_line to make it easier to subclass).

    Or if you have a better approach to extending, let me know!



    • I don't know what the best way to do it is. The easiest way was just to cut and paste into, but when I lost my changes installing 0.21, I decided I had to subclass.

      I expected I would only have to add the new parser into my subclass, but I also had to have the old parsers there too, which was a little surprising.

      The parsers are subroutines, rather than methods?