Make strict vars respect ‘package ĵ; *ĵ::bar = [];’
authorFather Chrysostomos <sprout@cpan.org>
Mon, 9 Apr 2012 06:04:38 +0000 (23:04 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 20 Apr 2012 03:09:12 +0000 (20:09 -0700)
commit707475cd74fef60149c3f020c29472b1814b3e9b
tree7f052ae110b07e864f38da0e48e95441e1ff4a55
parent6379d4a9afb32e86e55704579c9ac81237309672
Make strict vars respect ‘package ĵ; *ĵ::bar = [];’

In this particular case, the name of the current package in UTF-8 (it
cannot be expressed in Latin-1) is the same byte sequence as the name
of the package being assigned to in Latin-1.

Some of the logic in stashpv_hvname_match was faulty.  It worked for
a Latin-1 current package assigning to a glob in a UTF-8 package, but
not the other way around.
t/lib/strict/vars
util.c