thanks, will look into it ASAP
On Apr 21, 2008, at 4:11 AM, Reinoud Bokhorst via RT wrote:
Show quoted text>
> Mon Apr 21 05:11:29 2008: Request 35252 was acted upon.
> Transaction: Ticket created by rnbokhorst
> Queue: HTTP-Daemon-App
> Subject: Config is hash ref instead of code
> Broken in: v0.0.9
> Severity: Critical
> Owner: Nobody
> Requestors: bokhorst@argoss.nl
> Status: new
> Ticket <URL:
http://rt.cpan.org/Ticket/Display.html?id=35252 >
>
>
> I believe that the 2nd line in the HTTP::Daemon::App::run() subroutine
> should check if $conf is a hashref istead of code:
>
> - $conf = {} if ref $conf ne 'CODE';
> + $conf = {} if ref $conf ne 'HASH';
>
> (BTW: many thanks for this module: I had a simple http server
> up-and-running in a very short time).
>
>