Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

POD question

by c (Hermit)
on Feb 19, 2002 at 03:56 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2023-06-02 18:54 GMT
Find Nodes?
    Voting Booth?

    No recent polls found