Pod-Parser - Is is safe to override the output method?

Posted on Sat Apr 30 21:04:37 2005 by rrwo
Is is safe to override the output method?

I am creating a subclass of Pod::PlainText for generating README files (see my post in the module-authors list).

My custom-parser needs to turn itself on/off to ignore certain parts. The only way to get this working seems to be to have an overriden output method that returns undef when the flag is set:

sub output { my $self = shift; return if $$self{README_SKIP}; $self->SUPER::output(@_); }

However, this method is not listed in the documentation as overridable. Is this due to an omission in the docs, or is there something unsafe about this that I'm not aware of?

Write a response