summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Etheridge <ether@cpan.org>2016-11-10 15:53:46 -0800
committerKaren Etheridge <ether@cpan.org>2016-11-10 15:53:53 -0800
commit1cb94a81a48a69b3b84f35b933d9e2bbd709b647 (patch)
treee6e98d90f07ed72baf56bb6de9ece326b0a8c334
parent52b30531efcbbfd5fd5511d4f54a6eb963c2b576 (diff)
downloaduri-1cb94a81a48a69b3b84f35b933d9e2bbd709b647.tar.gz
stringify version before comparing, as recommended by Zefram
-rw-r--r--lib/URI/_idna.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/URI/_idna.pm b/lib/URI/_idna.pm
index 2ec600b..c646d31 100644
--- a/lib/URI/_idna.pm
+++ b/lib/URI/_idna.pm
@@ -13,7 +13,7 @@ our $VERSION = '1.71';
$VERSION = eval $VERSION;
BEGIN {
- *URI::_idna::_ENV_::JOIN_LEAKS_UTF8_FLAGS = $] < 5.008_003
+ *URI::_idna::_ENV_::JOIN_LEAKS_UTF8_FLAGS = "$]" < 5.008_003
? sub () { 1 }
: sub () { 0 }
;