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:
=cut
=cut
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
Test
=head1 METHODS
The following methods can be used:
=cut
### Method test ###
=over 4
=item Test->test();
Prints a test message
=back
=cut
sub test {
print "test";
}
### Method test2 ###
=over 4
=item Test->test2();
Prints a test message
=back
=cut
sub test2 {
print "test2";
}
1;
Logged In: YES
user_id=831672
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!
Logged In: YES
user_id=274815
This should be fixed in EPIC 0.1.0.
If not please reopen the bug.