This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
bisect.pl now accepts repeated -e options, just like perl.
[perl5.git] / cpan / Parse-CPAN-Meta / t / 01_compile.t
1 #!/usr/bin/perl
2
3 delete $ENV{PERL_YAML_BACKEND};
4 delete $ENV{PERL_JSON_BACKEND};
5
6 BEGIN {
7         if( $ENV{PERL_CORE} ) {
8                 chdir 't';
9                 @INC = ('../lib', 'lib');
10         }
11         else {
12                 unshift @INC, 't/lib/';
13         }
14 }
15
16 use strict;
17 BEGIN {
18         $|  = 1;
19         $^W = 1;
20 }
21
22 use File::Spec::Functions ':ALL';
23 use Test::More tests => 3;
24
25 # Check their perl version
26 ok( $] >= 5.004, "Your perl is new enough" );
27
28 # Does the module load
29 use_ok( 'Parse::CPAN::Meta' );
30 use_ok( 'Parse::CPAN::Meta::Test' );