in reply to Displaying in-line POD as man-pages 'on-the-fly'
Or you could do it this way:
if ( $ARGV[ 0 ] eq '--manual' ) { 0 == system 'perldoc', $0 or die $?; } __END__ =pod =head1 B<NAME> perlmonc - This is my program =cut
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Displaying in-line POD as man-pages 'on-the-fly'
by MidLifeXis (Monsignor) on Sep 08, 2008 at 11:16 UTC |