Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: How To View POD Embedded in a Perl Script?

by Anonymous Monk
on Apr 04, 2014 at 01:47 UTC ( #1081055=note: print w/replies, xml ) Need Help??

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 -- 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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1081055]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2018-02-21 04:17 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (274 votes). Check out past polls.