|Subject:||HTTP::Server::Simple::CGI has $VERSION that isn't independently eval-able.|
|Date:||Fri, 08 Aug 2008 18:38:12 -0500|
|To:||bug-HTTP-Server-Simple [...] rt.cpan.org|
|From:||Elliot Shank <perl [...] galumph.com>|
The $VERSION assignment in HTTP::Server::Simple::CGI looks like: $VERSION = $HTTP::Server::Simple::VERSION; This won't work with tools like CPANPLUS that eval these lines in isolation, i.e. neither HTTP/Server/Simple.pm nor HTTP/Server/Simple/CGI.pm will have actually been loaded. The $VERSION line gets extracted in isolation and thus CPANPLUS thinks that $HTTP::Server::Simple::CGI::VERSION is 0. This problem is causing a failed test report for CPAN::Mini::Webserver to be sent as NA instead of FAIL because CPANPLUS thinks that CPAN::Mini::Webserver's prereqs haven't been installed.