Re: podchecker from Pod::Simple
[email protected] (Michael Stevens)
| Newsgroups | perl.pod-people |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Feb 02, 2011 at 08:43:54AM -0800, David E. Wheeler wrote: > On Feb 2, 2011, at 6:46 AM, Michael Stevens wrote: > > > Hi. > > > > Okay, this is the worst kind of hack, but: > > > > https://github.com/mstevens/pod-simple > > > > contains a "podchecker" command that does something, if not very well, > > and uses Pod::Simple as a backend. > > Thanks. I'm happen to pull in the Pod fixes. And I could see adding a test that runs Test::Pod if it's installed (which would then just SKIP ALL in core). But this script seems…odd. I don't understand the config stuff, or the "!NO!SUBS!" at the end. > > But isn't there already a pod-checking script somewhere that uses Pod::Simple? Somebody help me out here. > > Wishing all the POD stuff wan't scattered to the four winds, This is a quick hack to try to make the core podchecker use Pod::Simple to do the checking. It was inspired by discussion on p5p about the desirability of making podchecker use Pod::Simple. It looks like Pod::Parser's validation is different from Pod::Simple, at the moment I wouldn't like to comment on what's right. I just copied the original and did the minimal to make it use Pod::Simple instead of Pod::Parser as a backend. At the moment it's very much a toy, and I wouldn't ask you to pull it. Michael