summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-01-25 20:57:56 +0000
committerNicholas Clark <nick@ccl4.org>2007-01-25 20:57:56 +0000
commitda51bb9b4f7f527464b5e38aca8bcb956de1bbbc (patch)
treef2f952634f7d10137a8e0c223426969a64d76ff6 /pp.c
parentede8ac17cc8980652fa00e4d3b33ce031d6bbd24 (diff)
downloadperl-da51bb9b4f7f527464b5e38aca8bcb956de1bbbc.tar.gz
The last parameter to gv_stashpv/gv_stashpvn/gv_stashsv is a bitmask
of flags, not a boolean, so correct the documenation and callers. p4raw-id: //depot/perl@29977
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 6f54dc65f2..e1a45c1a42 100644
--- a/pp.c
+++ b/pp.c
@@ -578,7 +578,7 @@ PP(pp_bless)
if (len == 0 && ckWARN(WARN_MISC))
Perl_warner(aTHX_ packWARN(WARN_MISC),
"Explicit blessing to '' (assuming package main)");
- stash = gv_stashpvn(ptr, len, TRUE);
+ stash = gv_stashpvn(ptr, len, GV_ADD);
}
(void)sv_bless(TOPs, stash);