Query: pod::elemental::perlmunger
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Pod::Elemental::PerlMunger(3pm) User Contributed Perl Documentation Pod::Elemental::PerlMunger(3pm)NAMEPod::Elemental::PerlMunger - a thing that takes a string of Perl and rewrites its documentationVERSIONversion 0.093331OVERVIEWThis role is to be included in classes that rewrite the documentation of a Perl document, stripping out all the Pod, munging it, and replacing it into the Perl. The only relevant method is "munge_perl_string", which must be implemented with a different interface than will be exposed. When calling the "munge_perl_string" method, arguments should be passed like this: $object->munge_perl_string($perl_string, \%arg); %arg may contain any input for the underlying procedure. The only key with associated meaning is "filename" which may be omitted. If given, it should be the name of the file whose contents are being munged. The method will return a string containing the rewritten and combined document. Classes including this role must implement a "munge_perl_string" that expects to be called like this: $object->munge_perl_string(\%doc, \%arg); %doc will have two entries: ppi - a PPI::Document of the Perl document with all its Pod removed pod - a Pod::Document with no transformations yet performed This "munge_perl_string" method should return a hashref in the same format as %doc.AUTHORRicardo SIGNES <rjbs@cpan.org>COPYRIGHT AND LICENSEThis software is copyright (c) 2011 by Ricardo SIGNES. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.12.4 2011-09-19 Pod::Elemental::PerlMunger(3pm)
Related Man Pages |
---|
ppi::token::pod(3pm) - debian |
pod::elemental(3pm) - debian |
pod::elemental::paragraph(3pm) - debian |
pod::elemental::perlmunger(3pm) - debian |
pod::wsdl::param(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Help for Perl |