Subject: | faulty test script |
Using perl 5.8.1 base build. Building CGI::XML 0.1. The build is fine. The test results in:
PERL_DL_NONLAZY=1 /usr/local/bin/perl-current "-Iblib/lib" "-Iblib/arch" test.pl
1..1
Can't locate XML/CGI.pm in @INC (@INC contains: blib/lib blib/arch /usr/local/5.8.1/lib/perl5/5.8.1/aix /usr/local/5.8.1/lib/perl5/5.8.1 /usr/local/5.8.1/lib/perl5/site_perl/5.8.1/aix /usr/local/5.8.1/lib/perl5/site_perl/5.8.1 /usr/local/5.8.1/lib/perl5/site_perl .) at test.pl line 6.
BEGIN failed--compilation aborted at test.pl line 6.
not ok 1
make: 1254-004 The error code from the last command is 2.
Changing the use line in test.pl from
use XML::CGI;
to
use CGI::XML;
resolves the problem and the test is successful