perl-pod / pod-simple

Framework for Parsing and Formatting POD
http://search.cpan.org/dist/Pod-Simple/
44 stars 60 forks source link

Instances are only usable once #174

Open leonerd opened 2 months ago

leonerd commented 2 months ago

I'm attempting to parse inner contents of a =begin ... block using a helper instance of another Pod::Simple subclass. I find that after I use an instance just once by calling ->parse_string_document on it, any further invocations do nothing. If I want to do another parse, I have to throw it away and start again with a brand new instance. For performance this is a little slow; it'd be nice if I could use the same instance repeatedly.

khwilliamson commented 2 months ago

patches welcome