X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fcharnames.pm;h=ef1472c31d98356408ca87905adfeb3db6629177;hb=004caa160f94253de79aa75f9b412f94823dcb96;hp=00faa6902c0a2b3787de19e6dec04d84b5d14198;hpb=f22a20695eae00da6d6892456727b75f7267e9ea;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/charnames.pm b/lib/charnames.pm index 00faa69..ef1472c 100644 --- a/lib/charnames.pm +++ b/lib/charnames.pm @@ -270,7 +270,7 @@ sub viacode # checking the length first is slightly faster if (length($hex) > 5 && hex($hex) > 0x10FFFF) { - carp sprintf "Unicode characters only allocated up to U+10FFFF (you asked for U+%X)", $hex; + carp "Unicode characters only allocated up to U+10FFFF (you asked for U+$hex)"; return; }