diff options
author | Brian Fraser <fraserbn@gmail.com> | 2011-07-06 06:16:30 -0300 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-10-06 13:01:07 -0700 |
commit | e69c50fe9ca52c29feb69acae8353cf429b666b6 (patch) | |
tree | 58ab12dc833d3c7458f549bfd0e65e62d8aac573 /pp.c | |
parent | 79edd281f8c83e9c268b297d60469edfed7b999a (diff) | |
download | perl-e69c50fe9ca52c29feb69acae8353cf429b666b6.tar.gz |
pp.c: pp_bless UTF8 cleanup.
Some tests in t/uni/bless.t are TODO, as ref() isn't
clean yet.
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -571,7 +571,7 @@ PP(pp_bless) if (len == 0) Perl_ck_warner(aTHX_ packWARN(WARN_MISC), "Explicit blessing to '' (assuming package main)"); - stash = gv_stashpvn(ptr, len, GV_ADD); + stash = gv_stashpvn(ptr, len, GV_ADD|SvUTF8(ssv)); } (void)sv_bless(TOPs, stash); |