PreviousNextTracker indexSee it online !

(35/211) 3154 - Perl: highlighting $) in sub decl (4.3pre15)

Save the following valid code as TEST.pl
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:54 Assigned przemo_w
Priority 2 Labels text area and syntax packages
Status open Group minor bug
Resolution None

Comments

2008-09-02 14:08:13
bgolding

- **priority**: 5 --> 2

2011-12-06 02:05:50
ezust

- **assigned_to**: nobody --> przemo_w