diff options
author | Yves Orton <demerphq@gmail.com> | 2009-10-26 21:52:05 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2009-10-26 23:12:50 +0100 |
commit | 9134ea20ecf6c7a898519ea43ac463bc4da08840 (patch) | |
tree | eac9e42206a5f4b65de593c3eae35518e3ec5feb /perl.h | |
parent | 2699d6345b651c48a820507d6287ddca1f5b2ee4 (diff) | |
download | perl-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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[] |