I am using EPIC 0.5.29 and Eclipse 3.2.1 .
I have a Perl program in which several subroutines are pre-declared in the beginning of a program, then there are some statements, then exit, and then the subroutines are defined. See attached file for the test case.
Problem: The editor thinks that the pre-declaration of sub print01 is the beginning of its definition. So if i fold it, all the code is folded from line 8 (sub print01;) to line 16, which has a closing curly brace.
Furthermore, in the outline view, print01 appears twice under subroutines.