hackmare has asked for the wisdom of the Perl Monks concerning the following question:

Fellow monks,

I am having difficulties with pod2html with pod-rich perl module which is using in-line pod.

Is there any utility available that lets me see what paragraph is being referred to in the error messages?

It seems that I have a pod formatting error.

Even better yet, is there anything available that allows me to check my pod (sort of like a pod debugger?)

Yours in ignorance Hackmare

Replies are listed 'Best First'.
Re: debugging inline pod
by slayven (Pilgrim) on Oct 17, 2001 at 16:25 UTC
    there is a program called podchecker which came with my perl 5.6 rpm which has some verbose debugging-feature.

    HTH
      Thank you. Very handy.

      Found the problem immediately, and another 8-10. after that.

Re: debugging inline pod
by perrin (Chancellor) on Oct 17, 2001 at 17:47 UTC
    There is a whole thread about inline POD vs. EOF pod. Abigail gives some pretty good arguments against using inline POD. You might want to consider whether or not you're just making your life difficult by doing it this way.
Quick VI trick
by clintp (Curate) on Oct 17, 2001 at 18:48 UTC
    If vi's your editor, then use the } key to take you to the correct (or nearly) paragraph. So if the error's at paragraph 15:
    1G15}
    Takes you there.
Re: debugging inline pod
by drfrog (Deacon) on Oct 17, 2001 at 20:58 UTC
    heyo

    why not just:

    use Pod::Checker;

    Pod::Checker::podchecker('my.pm','pmerrors.log',);
    #of course check perldoc Pod::Checker for more!

    back in the day we didnt have no old school