consider the following Perl code, every line where $hashmap{'array'} is casted in array, there is no highlight for the string 'array'
======================
!/usr/bin/perl
use strict;
use warnings;
use Data::Dumper;
my %hashmap = ();
push( @{ $hashmap{'array'} }, 'toto');
push( @{ $hashmap{'array'} }, 'titi');
push( @{ $hashmap{'array'} }, 'tutu');
printf("element count : [%s]\n", scalar( @{ $hashmap{'array'} } ));
printf("item 2 : [%s]\n", $hashmap{'array'}[2]);
Logged In: YES
user_id=1570594
Originator: YES
I forgot to tell I'm using EPIC v 0.6.11 on Eclipse 3.2, and JDK 1.6.0 update 2
Bug still there in 0.6.35 - array dereferencing disables string syntax highlight.
Examples:
@{mysub('foo')};
@{$hash{'bar'}};
I believe the parser is a bit naive regards the content of a dereferencing statement - i.e. just trying to find the closing curly brace. @{} / %{}. Could be improved.