X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fsex.t;h=103b0d1db249cfa42df998456e3d2951b56a7cbe;hb=26aea93e2a6f6f2bcc8978e99e0c9c3b8335f846;hp=8a63f89aec86095d9c3f8695f54dec79d923d434;hpb=3de1f2f7a5de9c260bc59d42bbd81bb7746239a0;p=p5sagit%2FSub-Exporter-Progressive.git diff --git a/t/sex.t b/t/sex.t index 8a63f89..103b0d1 100644 --- a/t/sex.t +++ b/t/sex.t @@ -3,8 +3,10 @@ use strict; use warnings; use Test::More; -plan skip_all => 'Sub::Exporter not installed' - unless eval { require Sub::Exporter }; +BEGIN { + plan skip_all => 'Sub::Exporter not installed' + unless eval { require Sub::Exporter }; +} use List::Util 'first'; use lib 't/lib';