Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 wandering the Monastery: (5)
As of 2014-09-20 05:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (153 votes), past polls