This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
133706a
)
gv_fullname4() can get rid of the main:: for us.
author
Nicholas Clark
<nick@ccl4.org>
Fri, 3 Dec 2004 22:17:32 +0000
(22:17 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Fri, 3 Dec 2004 22:17:32 +0000
(22:17 +0000)
(well, actually, it never puts it in)
p4raw-id: //depot/perl@23609
op.c
patch
|
blob
|
blame
|
history
diff --git
a/op.c
b/op.c
index
96be415
..
8fce725
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-6273,9
+6273,7
@@
Perl_ck_subr(pTHX_ OP *o)
OP *sibling = o2->op_sibling;
SV *n = newSVpvn("",0);
op_free(o2);
- gv_fullname3(n, gv, "");
- if (SvCUR(n)>6 && strnEQ(SvPVX(n),"main::",6))
- sv_chop(n, SvPVX(n)+6);
+ gv_fullname4(n, gv, "", FALSE);
o2 = newSVOP(OP_CONST, 0, n);
prev->op_sibling = o2;
o2->op_sibling = sibling;