P is for Practical | |
PerlMonks |
pod2man and Pod::Usage Weirdnessby skx (Parson) |
on Aug 14, 2006 at 20:17 UTC ( [id://567327]=perlquestion: print w/replies, xml ) | Need Help?? |
skx has asked for the wisdom of the Perl Monks concerning the following question: I've written a standalone script (not a module) which contains embedded POD suitable for display by Pod::Usage. Inside the script I have the standardish prolog which I've condensed to this sample:
This works nicely; pod2man creates a nice manpage for me and Pod::Usage also allows me to show the documentation to people who invoke the script with a "--manual" flag, however I have a big problem - both pod2man + Pod::Usage display the internal documentation. Assuming I have this:
Is there a way of making sure this internal documentation is not appended to my fine manpage, or displayed by Pod::Usage?
Back to
Seekers of Perl Wisdom
|
|