Well, I did the Apache::ASP instal again from the straigh .tar.gz file and
this is the output that I get from the install (usless information has been
removed where ever you see "~~~~~~"). So what does it mean when the tests
say "Can't call method "FETCH" on an undefined value at
blib/lib/Apache/ASP.pm"? :
Apache-ASP-2.09/~~~~~~
CPAN.pm: Going to build C/CH/CHAMAS/Apache-ASP-2.09.tar.gz
Checking for the prerequisite modules...
... found Apache !
... found Carp !
... found Data::Dumper !
... found Fcntl !
... found HTTP::Date !
... found MD5 !
... found MLDBM !
... found SDBM_File !
Checking for the optional modules...
... found Apache::Filter !
... found Apache::SSI !
... found CGI !
... found Compress::Zlib !
... found DB_File !
... found Devel::Symdump !
... found HTML::Clean !
... found HTML::FillInForm !
... found Net::Config !
... found Net::SMTP !
... found Tie::Cache !
... found Time::HiRes !
... found XML::XSLT !
Looks good!
Writing Makefile for Apache::ASP
mkdir blib~~~~~~
cp ASP.pm blib/lib/Apache/ASP.pm
cp lib/Bundle/Apache/ASP.pm blib/lib/Bundle/Apache/ASP.pm
Manifying blib/man3/Apache::ASP.3
Manifying blib/man3/Bundle::Apache::ASP.3
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.6.0/ppc-linux -I/usr/local/lib/perl5/5.6.0 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/application....... (in cleanup) Can't call method "FETCH" on an
undefined value at blib/lib/Apache/ASP.pm line 4280 during global
destruction.
t/application.......ok
t/collection........ (in cleanup) Can't call method "FETCH" on an
undefined value at blib/lib/Apache/ASP.pm line 4280 during global
destruction.
t/collection........ok
t/collectionitem.... (in cleanup) Can't call method "FETCH" on an
undefined value at blib/lib/Apache/ASP.pm line 4280 during global
destruction.
t/collectionitem....ok
t/general........... (in cleanup) Can't call method "FETCH" on an
undefined value at blib/lib/Apache/ASP.pm line 4280 during global
destruction.
t/general...........ok
t/include........... (in cleanup) Can't call method "FETCH" on an
undefined value at blib/lib/Apache/ASP.pm line 4280 during global
destruction.
t/include...........ok
t/loops............. (in cleanup) Can't call method "FETCH" on an
undefined value at blib/lib/Apache/ASP.pm line 4280 during global
destruction.
t/loops.............ok
t/request........... (in cleanup) Can't call method "FETCH" on an
undefined value at blib/lib/Apache/ASP.pm line 4280 during global
destruction.
t/request...........ok
t/response.......... (in cleanup) Can't call method "FETCH" on an
undefined value at blib/lib/Apache/ASP.pm line 4280 during global
destruction.
t/response..........ok
t/server............ (in cleanup) Can't call method "FETCH" on an
undefined value at blib/lib/Apache/ASP.pm line 4280 during global
destruction.
t/server............ok
t/session........... (in cleanup) Can't call method "FETCH" on an
undefined value at blib/lib/Apache/ASP.pm line 4280 during global
destruction.
t/session...........ok
t/xmlsubs........... (in cleanup) Can't call method "FETCH" on an
undefined value at blib/lib/Apache/ASP.pm line 4280 during global
destruction.
t/xmlsubs...........ok
All tests successful.
Files=11, Tests=84, 85 wallclock secs (67.11 cusr + 3.63 csys = 70.74 CPU)
/usr/bin/make test -- OK
Running make install
Skipping /usr/local/lib/perl5/site_perl/5.6.0/Bundle/Apache/ASP.pm
(unchanged)
Skipping /usr/local/lib/perl5/site_perl/5.6.0/Apache/ASP.pm (unchanged)
Installing /usr/local/man/man3/Apache::ASP.3
Installing /usr/local/man/man3/Bundle::Apache::ASP.3
Writing
/usr/local/lib/perl5/site_perl/5.6.0/ppc-linux/auto/Apache/ASP/.packlist
Appending installation info to
/usr/local/lib/perl5/5.6.0/ppc-linux/perllocal.pod
/usr/bin/make install -- OK
--------------------------
Alright guys, do I have an interesting question:
Let us start with the output that ends up in the browser, if I try and load
the ./eg/index.htm page:
--------------------------
#!/usr/local/bin/perl5 asp
--------------------------
Then the output to browser when I load the ./eg/index.html page:
--------------------------
#!/usr/local/bin/perl5 asp <= $#keys; $i++) { if($i < $half) { push(@col1,
$keys[$i]); } else { push(@col2, $keys[$i]); } } $Response->Debug('col1',
\@col1, 'col2', \@col2); $title = 'Example ASP Scripts'; %>
"; next; } next unless $_->[0]; # last col / last row # clean up the
descriptions $_->[1] =~ s/\s*\.\s*$//s; $_->[1] .= '.'; %>
[0]%>>[0]%> [0] =~ /\.(htm|asp|ssi|xml)$/) { %> ([0]%>>source)
[1]%>
--------------------------
It almost seems to me, like ASP is half working, half not.
Keep in mind these are just the example scripts that come with the package.
And, as far as I know, everything was installed 100% correctly from the CPAN
sources.
Any Ideas?
Cheers,
Sean