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.
Adding new tag parsers (Score:1)
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!
osfameron
Re:Adding new tag parsers (Score:1)
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?
Reply to This
Parent
Re:Adding new tag parsers (Score:1)
osfameron