1 |
#!/usr/bin/perl -w |
#!/usr/bin/perl -w |
2 |
|
|
3 |
use strict; |
use strict; |
4 |
use blib; |
use lib 'lib'; |
5 |
|
|
6 |
use Test::More tests => 11; |
use Test::More; |
7 |
|
|
8 |
BEGIN { |
BEGIN { |
9 |
use_ok( 'WebPAC::Test' ); |
|
10 |
use_ok( 'WebPAC::Input' ); |
eval "use CAM::PDF"; |
11 |
|
|
12 |
|
if ( $@ ) { |
13 |
|
plan skip_all => "CAM::PDF required for WebPAC::Input::PDF"; |
14 |
|
} else { |
15 |
|
plan tests => 11; |
16 |
|
} |
17 |
|
|
18 |
|
use_ok( 'WebPAC::Test' ); |
19 |
|
use_ok( 'WebPAC::Input' ); |
20 |
} |
} |
21 |
|
|
22 |
my $module = 'WebPAC::Input::PDF'; |
my $module = 'WebPAC::Input::PDF'; |