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:??;