some cleanup
[gitmo/MooseX-Types-Path-Class.git] / t / 02.getopt.t
index 48b4ad6..f3feae5 100644 (file)
@@ -1,10 +1,9 @@
 
 use warnings FATAL => 'all';
 use strict;
-use English qw(-no_match_vars);
 
 eval { require MooseX::Getopt; };
-if ($EVAL_ERROR) {
+if ($@) {
     plan( skip_all => 'MooseX::Getopt required for this test' );
 }