Perl 5.10+ defined-or operator (//) breaks syntax highlighting

Michele Beltrame 8 years ago updated by Italpro - M Beltrame 6 years ago 1
Since version 5.10, Perl features a defined-or operator:

my $confpath = $ENV{CONFIG_PATH} // './lib';
my $confile = $confpath . '/myconf.conf';

which however breaks syntax highlighting, so the second line (and any following) don't get coloured as they do by using the true-or ( || ) operator.

By the way, the defined-or-assign ( //=) operator doesn't break syntax highlighting.

I'm now using SublimeText 3.0 beta, and this is still broken.