I am reporting this bug against the current CVS version.
The expression $foo->format() (an invocation of a method
named format on some object) breaks syntax highlighting
in source code which follows it.
The reason is that a SPAN rule from
org.epic.ext.cbg.editor/modes/perl.xml is applied
incorrectly to the above expression:
REQUIRE_WHITESPACE_AFTER ="TRUE" >
Specifically, the REQUIRE_WHITESPACE_BEFORE part
does not work as expected. The bug seems to be caused
whose isWhitespace method returns true not just
for real whitespace, but also for various punctuation
characters (including >).