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