Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
However, when do a perldoc on my script itselfprint DOCFILE <<"DOCS"; =pod =head1 NAME $programName ... DOCS
perldoc picks up the POD inside the heredocs and puts it before the POD for the generation script.perldoc generatePODs.pl
I looked at the perldoc and pod2man man pages and it was not clear to me as to how to make perldoc ignore the POD embedded inside the heredoc. How can I do that?GENERATEPODS(1) User Contributed Perl Documentation GENERAT +EPODS(1) NAME $programName ...... NAME generatePODs.pl DESCRIPTION This program generates PODs
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Ignoring embedded POD
by toolic (Bishop) on Jul 18, 2013 at 13:57 UTC | |
by Anonymous Monk on Jul 18, 2013 at 14:16 UTC | |
|
Re: Ignoring embedded POD
by BrowserUk (Patriarch) on Jul 18, 2013 at 14:37 UTC | |
|
Re: Ignoring embedded POD
by choroba (Cardinal) on Jul 18, 2013 at 20:10 UTC | |
by toolic (Bishop) on Jul 18, 2013 at 20:34 UTC | |
|
Re: Ignoring embedded POD
by rjt (Curate) on Jul 18, 2013 at 14:20 UTC | |
|
Re: Ignoring embedded POD
by derobert (Initiate) on Jan 25, 2020 at 19:06 UTC |