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?
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?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Parse POD of a method from perl module
by Anonymous Monk on May 13, 2014 at 23:31 UTC | |
Re: Parse POD of a method from perl module
by LanX (Saint) on May 13, 2014 at 22:11 UTC | |
by perlUser9 (Novice) on May 13, 2014 at 22:36 UTC | |
by LanX (Saint) on May 13, 2014 at 22:45 UTC | |
by perlUser9 (Novice) on May 13, 2014 at 23:15 UTC | |
Re: Parse POD of a method from perl module
by RonW (Parson) on May 14, 2014 at 01:13 UTC | |
by muba (Priest) on May 15, 2014 at 15:28 UTC | |
Re: Parse POD of a method from perl module
by kcott (Archbishop) on May 14, 2014 at 04:48 UTC | |
by Anonymous Monk on May 15, 2014 at 05:13 UTC |
Back to
Seekers of Perl Wisdom