summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2011-07-06 06:16:30 -0300
committerFather Chrysostomos <sprout@cpan.org>2011-10-06 13:01:07 -0700
commite69c50fe9ca52c29feb69acae8353cf429b666b6 (patch)
tree58ab12dc833d3c7458f549bfd0e65e62d8aac573 /pp.c
parent79edd281f8c83e9c268b297d60469edfed7b999a (diff)
downloadperl-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.c b/pp.c
index 185aa83c40..316b80ea94 100644
--- a/pp.c
+++ b/pp.c
@@ -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);