There's more than one way to do things | |
PerlMonks |
Parse POD of a method from perl moduleby perlUser9 (Novice) |
on May 13, 2014 at 21:51 UTC ( [id://1085954]=perlquestion: print w/replies, xml ) | Need Help?? |
perlUser9 has asked for the wisdom of the Perl Monks concerning the following question:
Hi I am trying to parse the POD for a particular method from a Perl module. For ex if I have a module named MyModule.pm as below:
package MyModule; =head1 Subroutine1 My POD for Subroutine1 =cut sub Subroutine1 { ... ... } =head1 Subroutine2 My POD for Subroutine2 =cut sub Subroutine2 { ... ... } 1; Now I want to get the POD of Subroutine2 in a string. Can anyone please suggest if there is a Perl module which can parse the POD for the particular method?
Back to
Seekers of Perl Wisdom
|
|