#!/usr/bin/perl -w
# Test that CPAN::Cache loads
use strict;
use lib ();
BEGIN {
$| = 1;
unless ( $ENV{HARNESS_ACTIVE} ) {
require FindBin;
$FindBin::Bin = $FindBin::Bin; # Avoid a warning
chdir catdir( $FindBin::Bin, updir() );
lib->import(
catdir('blib', 'arch'),
catdir('blib', 'lib' ),
catdir('lib'),
);
}
}
use Test::More tests => 2;
ok( $] >= 5.005, "Your perl is new enough" );
use_ok( 'CPAN::Cache' );
exit(0);