PreviousNextTracker indexSee it online !

(61/231) 2089032 - Perl: highlighting $) in sub decl (4.3pre15)

Save the following valid code as
sub name($) { }

The ) after $ is incorrectly coloured green/bold (it is treating $) as referring to a variable).

The bug disappears if you change $ to $$.

This bug was not in 4.3pre14.

Submitted bgolding - 2008-09-02 - 14:07:54z Assigned przemo_w
Priority 2 Category text area and syntax packages
Status Open Group minor bug
Resolution None Visibility No