diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-10-07 11:39:50 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-10-07 11:40:18 -0700 |
commit | d0c0e7dd0ccf3d5c2f658529d3ee578a0bcb116e (patch) | |
tree | f416601f98df3da3bd38565e30c7013f072200ad /mro.c | |
parent | b8fa52133ec35c6191dc536bb166eb31c1b6a887 (diff) | |
download | perl-d0c0e7dd0ccf3d5c2f658529d3ee578a0bcb116e.tar.gz |
Use HEKf
This avoids creating a lot of temporary SVs.
Diffstat (limited to 'mro.c')
-rw-r--r-- | mro.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -224,8 +224,9 @@ S_mro_get_linear_isa_dfs(pTHX_ HV *stash, U32 level) Perl_croak(aTHX_ "Can't linearize anonymous symbol table"); if (level > 100) - Perl_croak(aTHX_ "Recursive inheritance detected in package '%"SVf"'", - SVfARG(sv_2mortal(newSVhek(stashhek)))); + Perl_croak(aTHX_ + "Recursive inheritance detected in package '%"HEKf"'", + HEKfARG(stashhek)); meta = HvMROMETA(stash); |