Pod lightning

TorgoX on 2002-08-30T10:48:31

Dear Log,

After writing hundreds of tests for my new in-the-works Pod parser (where I have test code like I like L<< SWITCH B<<< E<115>tatements >>>|perlsyn/Basic I<<<< BLOCKs >>>> and Switch StatementE<115> >>), I actually ran some real documents thru it -- perlfunc and perltoc. On my not exactly fast laptop, all of perlfunc took two seconds to turn it into wrapped and indented XML; and perltoc took six seconds -- probably because of all the little tiny paragraphs; there's a per-paragraph overhead in the processing.
And those are the two longest pod documents I see in my local Perl install (about a quarter-meg each).

I wrote the whole system to work not to be fast; so I'm sort of surprised that it's pretty fast.


Generic POD parser tests

Matts on 2002-08-30T14:33:52

It'd be great to get hold of a whole load of POD parser tests, sort of like the generic DBI test suite in DBD::CSV.

Throwing your example there at POD::SAX of course made it create invalid output ;-) But I'll fix it.

Re:Generic POD parser tests

Matts on 2002-08-30T15:15:45

OK, fixed for that issue, and Pod::SAX 0.11 uploaded to CPAN ;-)

Also restarted the AxKit wiki with this new version installed, in case you wanted to test any other stuff.

Re:Generic POD parser tests

TorgoX on 2002-08-31T21:35:55

It'd be great to get hold of a whole load of POD parser tests, sort of like the generic DBI test suite in DBD::CSV.

It'll all be released soon.

I also imagine that it'll be easy to retrofit Pod::Sax to my new parser module.