From: Tony Cook Date: Mon, 18 Feb 2013 08:58:22 +0000 (+1100) Subject: skip t/x30podlinkcheck.t if Pod::Parser 1.50 not available X-Git-Tag: v0.94_01~31 X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/17dbbf91c61e81a5d2703002e2635fcab44d8e27 skip t/x30podlinkcheck.t if Pod::Parser 1.50 not available --- diff --git a/t/x30podlinkcheck.t b/t/x30podlinkcheck.t index 667a33b2..776e14e8 100644 --- a/t/x30podlinkcheck.t +++ b/t/x30podlinkcheck.t @@ -1,7 +1,10 @@ #!perl -w use strict; use Test::More; -use Pod::Parser 1.50; +BEGIN { + eval 'use Pod::Parser 1.50;'; + plan skip_all => "Pod::Parser 1.50 required for podlinkcheck" if $@; +} use File::Find; use File::Spec::Functions qw(rel2abs abs2rel splitdir);