Fix WWW::Search::Torrentz on perl < 5.18
[www-search-torrentz.git] / lib / WWW / Search / Torrentz.pm
index cd5920dd64a6f323c04955d5333743ab1a7c89f7..4c575e64de34528dd17e6d52721829f1477ad54f 100644 (file)
@@ -3,10 +3,10 @@ package WWW::Search::Torrentz;
 use 5.014000;
 use strict;
 use warnings;
-no warnings 'experimental::smartmatch';
+no if $] >= 5.018, warnings => 'experimental::smartmatch';
 use parent qw/WWW::Search/;
 
-our $VERSION = '0.001';
+our $VERSION = '0.001001';
 our $MAINTAINER = 'Marius Gavrilescu <marius@ieval.ro>';
 
 use WWW::Search::Torrentz::Result;
@@ -75,7 +75,7 @@ __END__
 
 =head1 NAME
 
-WWW::Search::Torrentz - search torrentz.eu with WWW:Search
+WWW::Search::Torrentz - search torrentz.eu with WWW::Search
 
 =head1 SYNOPSIS
 
This page took 0.010253 seconds and 4 git commands to generate.