in reply to Convert POD to XML or JSON files

CPAN search ---> Pod::XML "Module to convert POD to XML"

Replies are listed 'Best First'.
Re^2: Convert POD to XML or JSON files
by munk28 (Initiate) on Nov 12, 2013 at 01:34 UTC
    Thank you for the reply! I did checkout POD::XML but it says it can't convert it to standard xml format. Have you had any experience using this module before? If so, please share it here.

      What it means is that it doesn't output a standardised document format such as XHTML, Docbook, OOXML, etc. The output is still valid XML 1.0, and can be handled with generic XML tools.

      Unless you need a particular flavour of XML, Pod::XML will do the job. Even if you do need a particular flavour of XML, I'd consider using Pod::XML and then post-processing with XSLT.

      use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
        Thank you very much!
        Thank you very much!