in reply to Any smart Perl editors?
There is a comparison of Perl Development Tools. The feature you are looking for, is folding (or at least that's the nearest to your description).
In Section
Seekers of Perl Wisdom
in reply to Any smart Perl editors?