summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2009-10-26 21:52:05 +0100
committerYves Orton <demerphq@gmail.com>2009-10-26 23:12:50 +0100
commit9134ea20ecf6c7a898519ea43ac463bc4da08840 (patch)
treeeac9e42206a5f4b65de593c3eae35518e3ec5feb /perl.h
parent2699d6345b651c48a820507d6287ddca1f5b2ee4 (diff)
downloadperl-9134ea20ecf6c7a898519ea43ac463bc4da08840.tar.gz
add an elipses to string/ref warnings when str longer than 32 chars
Wasted a few minutes more than necessary trying to work out why the string was truncated when in fact it was the error message that was truncating the string.
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl.h b/perl.h
index 5e6f0a803d..c4521aa156 100644
--- a/perl.h
+++ b/perl.h
@@ -4211,9 +4211,9 @@ EXTCONST char PL_warn_nl[]
EXTCONST char PL_no_wrongref[]
INIT("Can't use %s ref as %s ref");
EXTCONST char PL_no_symref[]
- INIT("Can't use string (\"%.32s\") as %s ref while \"strict refs\" in use");
+ INIT("Can't use string (\"%.32s\"%s) as %s ref while \"strict refs\" in use");
EXTCONST char PL_no_symref_sv[]
- INIT("Can't use string (\"%" SVf32 "\") as %s ref while \"strict refs\" in use");
+ INIT("Can't use string (\"%" SVf32 "\"%s) as %s ref while \"strict refs\" in use");
EXTCONST char PL_no_usym[]
INIT("Can't use an undefined value as %s reference");
EXTCONST char PL_no_aelem[]