Subject: | t/lex_hinthash.t is storing ArrayRef in hints hash %^H |
It is just a unit test so not a big deal but just realized that this unit test
t/lex_hinthash.t is storing some Ref values in %^H
The hints hash (%^H) cannot be used to store hashrefs as values,
so any implementation that relies on putting hashrefs in %^H is
intrinsically broken.
See "Implementation details" in the perlpragma manpage.
https://perldoc.perl.org/perlpragma.html#Implementation-details
See also my Lexical::Hints module for a clean work-around
for this (annoying) limitation with %^H.