summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorGisle Aas <gisle@activestate.com>2006-01-04 13:53:16 +0000
committerGisle Aas <gisle@activestate.com>2006-01-04 13:53:16 +0000
commit6a245ed1e7ef6f728779f8328fb52e42b1aa0b8c (patch)
tree2b22d2ba828e88be62274986b1e187fcf3861313 /sv.c
parent359e8da2ef248b0ae5eba7c150226268a764452f (diff)
downloadperl-6a245ed1e7ef6f728779f8328fb52e42b1aa0b8c.tar.gz
Get rid of a few more hardcoded string lengths.
p4raw-id: //depot/perl@26645
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index bd433522da..6f296d71ce 100644
--- a/sv.c
+++ b/sv.c
@@ -11175,7 +11175,7 @@ S_varname(pTHX_ GV *gv, const char gvtype, PADOFFSET targ,
Perl_sv_catpvf(aTHX_ name, "[%"IVdf"]", (IV)aindex);
}
else if (subscript_type == FUV_SUBSCRIPT_WITHIN)
- sv_insert(name, 0, 0, "within ", 7);
+ sv_insert(name, 0, 0, STR_WITH_LEN("within "));
return name;
}