There's more than one way to do things | |
PerlMonks |
Re: Parse POD of a method from perl moduleby kcott (Archbishop) |
on May 14, 2014 at 04:48 UTC ( [id://1085976]=note: print w/replies, xml ) | Need Help?? |
G'day perlUser9, Welcome to the monastery. This seems to do what you want. Using your example code, this outputs just "My POD for Subroutine2\n". I added some extra dummy POD for test purposes.
Output:
-- Ken
In Section
Seekers of Perl Wisdom
|
|