Folding mechanism tries to fold subroutine predeclaration instead of the subroutine implementation (see attached screen shot and sample perl file)
#!/usr/bin/perl
use English;
sub mysub(\$);
my $n = 47;
mysub($n);
print "$n\n";
sub mysub(\$) {
my ($n_ref) = @ARG;
$$n_ref = 42;
}
(Setup: EPIC 0.4.27 -- Eclipse SDK 3.2.1 Build M20060921-0945 -- Mac OS X 10.4.8 Build 8L127)
screen shot demonstrating confused folding mechanism