On 12/24/05, Dan Horne <[EMAIL PROTECTED]> wrote: > > -----Original Message----- > > From: RA Jones > > Sent: Saturday, 24 December 2005 11:09 p.m. > > To: [email protected] > > Subject: Re: [cgiapp] CAP::DebugScreen and ErrorDocument > > > > Has anyone tried to install this on Win32 - Ron perhaps? It sounds a > > most useful module, but I get the following: > > > > C:\usr\local\bin\perl.exe "-MExtUtils::Command::MM" "-e" > > "test_harness(0, 'blib\lib', 'blib\arch')" t\00_compile.t > > t\00_compile....NOK 1 > > # Failed test (t\00_compile.t at line 4) > > # Tried to use 'CGI::Application::Plugin::DebugScreen'. > > # Error: Can't locate object method "add_callback" via package > > "main" at > > C:\.cpan\build\CGI-Application-Plugin-DebugScreen-0.05\blib\lib/CGI/Appli > > cation/Plugin/DebugScreen.pm line 145. > > # BEGIN failed--compilation aborted at t\00_compile.t line 4. > > # Looks like you failed 1 test of 1. > > > > I encountered the same problem on Linux, so it's not just Windows related...
I think it is just a bad test. The import method of the plugin tries to call add_callback (which is provided by CGI::Application >= 4.0). But in the test it just does a 'use_ok' on the plugin and that only works from within a CGI::Application subclass. I ignored the test failure and installed anyway. However, the author should be notified I guess... Cheers, Cees --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[email protected]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
