source: trunk/essentials/dev-lang/perl/lib/Math/BigRat/t/requirer.t

Last change on this file was 3181, checked in by bird, 19 years ago

perl 5.8.8

File size: 715 bytes
Line 
1#!/usr/bin/perl -w
2
3# check that simple requiring BigRat works
4
5use strict;
6use Test::More;
7
8BEGIN
9 {
10 $| = 1;
11 # to locate the testing files
12 my $location = $0; $location =~ s/requirer.t//i;
13 if ($ENV{PERL_CORE})
14 {
15 # testing with the core distribution
16 @INC = qw(../t/lib);
17 }
18 unshift @INC, qw(../lib); # to locate the modules
19 if (-d 't')
20 {