i.o.W. your input are
- name of the head1
- path of a module
and you just want the POD-content, no source code?
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? |