Subject: bug#45083: perl mode: $x{last}, $x{'last'}, $x{first} should look the same, and different from just last

From: 積丹尼 Dan Jacobson <[email-masked]>
Date: Sun, 06 Dec 2020 19:31:25 +0800

$ emacs file.pl
Shouldn't perl mode know that "last" is not special here,

        $strings{this} = $_->toString;
        $strings{skip} = $strings{this} eq $strings{last};
        $strings{last} = $strings{this};

and thus not color it differently?

> Well then quote it.

OK,

        $strings{"last"} = $strings{this};

But now it looks even more different.

Therefore perl mode should know that
$x{last}, $x{'last'} etc. should look the same, and different from just last.

emacs-version "27.1"