No such thing as a small change | |
PerlMonks |
Re^3: Parse POD of a method from perl moduleby LanX (Saint) |
on May 13, 2014 at 22:45 UTC ( [id://1085960]=note: print w/replies, xml ) | Need Help?? |
i.o.W. your input are
As mentioned ready-to-use solutions expect you to follow certain conventions! But a simple perl-script to parse everything between =head1 NAME and =cut is straight forwardly implemented with a flip-flop range and easily adapted if your format has variations (different conventions¹)
Cheers Rolf ( addicted to the Perl Programming Language) ¹) e.g are you aware that your example is "invalid" POD b/c of missing empty lines?
In Section
Seekers of Perl Wisdom
|
|