Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

POD question

by c (Hermit)
on Feb 19, 2002 at 03:56 UTC ( [id://146306]=perlquestion: print w/replies, xml ) Need Help??

c has asked for the wisdom of the Perl Monks concerning the following question:

my code:
=head1 Hello =over 4 This is a test =back This is another =cut

am i misunderstanding how =over should work? when i run perldoc against this file, the This is a test Line is no farther indented than the line below it. can someone explain why this is?

thanks -c

Replies are listed 'Best First'.
Re: POD question
by japhy (Canon) on Feb 19, 2002 at 04:07 UTC
    The =over represents how far over text of an =item is. Here's an example of the proper usage.
    =head Test =over 10 =item ABC This is inlined with "ABC", but 10 spaces from the left margin. =item MUCH TOO LONG This is on the line below "MUCH TOO LONG", but 10 spaces from the left + margin. =back

    _____________________________________________________
    Jeff[japhy]Pinyan: Perl, regex, and perl hacker, who'd like a (from-home) job
    s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://146306]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-23 11:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found