in reply to How To View POD Embedded in a Perl Script?
#!/usr/bin/perl print "Hello, World!\n"; =head1 NAME My::Module - An example module =cut
please note the newline after cut.
Using perldoc is ok
concerning IDEs: emacs in cperl-mode has the cperl-pod-to-manpage command, also available via menu as Perl / Perl docs / View manpage of POD in this file
Cheers Rolf
( addicted to the Perl Programming Language)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How To View POD Embedded in a Perl Script?
by ParsonGeorge (Initiate) on Apr 04, 2014 at 13:26 UTC | |
by LanX (Saint) on Apr 04, 2014 at 13:40 UTC |