bulrush has asked for the wisdom of the Perl Monks concerning the following question:
I've put POD documentation into my Perl script but when I do 'perldoc file.pl' I get a blank page in some type of pager. The pager file says '/tmp/(random letters and numbers)'. I checked several pages viaGoogle and my documentation looks right, as I put a blank line before and after every '=' command. What could I be doing wrong here? Here is a small test.pl file which doesn't even work.
#!/usr/bin/perl # Update date: # Purpose: blah blah blah # # VARIABLES # blah = # foo = # =pod =head1 NAME =head1 SYNOPSIS This is a normal paragraph of text. A second line to test if the paragraph wraps with the previous one. =cut use warnings; use strict; print "Hi\n"; exit;
and I noticed
Thank you.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: perldoc POD documenation not working
by toolic (Bishop) on Oct 06, 2014 at 13:23 UTC | |
by bulrush (Scribe) on Oct 06, 2014 at 13:35 UTC | |
by LanX (Saint) on Oct 06, 2014 at 13:47 UTC | |
by bulrush (Scribe) on Oct 06, 2014 at 13:51 UTC | |
by LanX (Saint) on Oct 06, 2014 at 13:58 UTC | |
by DrHyde (Prior) on Oct 08, 2014 at 12:53 UTC | |
by bulrush (Scribe) on Oct 06, 2014 at 13:33 UTC | |
by toolic (Bishop) on Oct 06, 2014 at 13:36 UTC | |
by bulrush (Scribe) on Oct 06, 2014 at 14:24 UTC | |
by bulrush (Scribe) on Oct 06, 2014 at 13:43 UTC | |
by LanX (Saint) on Oct 06, 2014 at 14:04 UTC | |
|