Subject: | No worky |
Simple code:
use Maypole::HTTPD;
use Memories;
my $httpd=Maypole::HTTPD->new(module=>"Memories");
$httpd->run();
Dies on any request:
HTTP::Server::Simple: You can connect to your server at
http://localhost:8080/
do not call Maypole::HTTPD::SUPER->handler at test.pl line 4
Can't see where that error's coming from, but it doesn't even make much
sense.
Also, in sub new, this doesn't do what you think it does:
eval "use $self->module";
instead try
eval "use ".$self->module;