Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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


Comment on Re: How To View POD Embedded in a Perl Script?
Download Code
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1081055]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (13)
As of 2015-07-02 16:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls