Stories
Slash Boxes
Comments
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

use Perl Log In

Log In

[ Create a new account ]

TorgoX (1933)

TorgoX
  sburkeNO@SPAMcpan.org
http://search.cpan.org/~sburke/

"Il est beau comme la retractilité des serres des oiseaux rapaces [...] et surtout, comme la rencontre fortuite sur une table de dissection d'une machine à coudre et d'un parapluie !" -- Lautréamont

Journal of TorgoX (1933)

Friday August 30, 2002
05:48 AM

Pod lightning

[ #7411 ]
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.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • 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.
    • 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.
    • 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.