Upgrade to Test::Simple 0.64_03
[p5sagit/p5-mst-13.2.git] / lib / charnames.pm
index 00faa69..ef1472c 100644 (file)
@@ -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;
   }