I have a longer text in my script that is in POD-format. When user types '--manual' I want to display this manual to the user with 'less'. Is this possible without storing it to files first?
if($ARGV[0] eq '--manual') { < PRINT MAN PAGE FROM FUNCTION BELOW > } sub Documentation () { return " =pod =head1 B<NAME> perlmonc - This is my program =cut " }
In reply to Displaying in-line POD as man-pages 'on-the-fly' by rapide
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |