Subject: | Unescaped left brace in regex is deprecated |
The new deprecation warning in bleadperl hits in the t/escape.t test.
The attached patch silences it.
Canonical ticket for the change:
https://rt.perl.org/rt3//Public/Bug/Display.html?id=113094
Regards,
Subject: | URI-1.60-ANDK-01.diff |
--- t/escape.t~ 2012-02-11 15:48:54.000000000 +0100
+++ t/escape.t 2012-05-28 09:12:26.817866976 +0200
@@ -34,6 +34,6 @@
skip "Perl 5.8.0 or higher required", 3 if $] < 5.008;
ok !eval { print uri_escape("abc" . chr(300)); 1 };
-like $@, qr/^Can\'t escape \\x{012C}, try uri_escape_utf8\(\) instead/;
+like $@, qr/^Can\'t escape \\x\{012C}, try uri_escape_utf8\(\) instead/;
is uri_escape_utf8(chr(0xFFF)), "%E0%BF%BF";