#36 POD: outline subroutines not shown

Outline (28)

I have a perl script with valid POD info inside (see below). But the
POD prevents the subroutines from being shown in the Outline.

The funny thing is: When I double the =cut line:


all subroutines are shown immediately. This doesn't even cause a
perldoc warning, so I consider it as an okay workaround. But I
don't wanna pollute my files with a stupid =cut\n=cut
Is there an easy fix in the epic sources?

#! /usr/bin/perl -w

=head1 NAME


=head1 METHODS

The following methods can be used:


### Method test ###

=over 4

=item Test->test();

Prints a test message



sub test {
print "test";

### Method test2 ###

=over 4

=item Test->test2();

Prints a test message



sub test2 {
print "test2";



  • Markus Dreyer

    Markus Dreyer - 2003-11-20

    Logged In: YES

    I found an interesting behavior:

    if the number of =head1 headings is even (as in the code example
    above), the outline does not work. If it is odd, the outline works. So, just
    add 1, 3, or 5 , ..., methods, and the Outline works, i.e. methods are
    shown!!! I hope there will be a fix soon!

  • Jochen Ruehl

    Jochen Ruehl - 2003-11-21
    • assigned_to: nobody --> luelljoc
  • Jochen Ruehl

    Jochen Ruehl - 2004-05-12

    Logged In: YES

    This should be fixed in EPIC 0.1.0.
    If not please reopen the bug.

  • Jochen Ruehl

    Jochen Ruehl - 2004-05-12
    • status: open --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks