http://www.perlmonks.org?node_id=1081055


in reply to How To View POD Embedded in a Perl Script?

I've tried running perldoc in a terminal with the name of the script as an argument: perldoc hello.pl -- but that doesn't seem to work.

Your Pod::Perldoc/Pod::Text must be really old ...

But it does help if your pod is correct :) Tutorials: POD in 5 minutes

=head1 NAME My::Module - An example module =cut

perlpodspec, perlpod

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:28 UTC

    The problem was my improper coding of the pod block. I failed to put a blank line at the end. Thanks for your help.