Skip Menu |

This queue is for tickets about the HTTP-Daemon-App CPAN distribution.

Report information
The Basics
Id: 35252
Status: open
Priority: 0/
Queue: HTTP-Daemon-App

People
Owner: Nobody in particular
Requestors: bokhorst [...] argoss.nl
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: v0.0.9
Fixed in: (no value)



Subject: Config is hash ref instead of code
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).
Subject: Re: [rt.cpan.org #35252] Config is hash ref instead of code
Date: Mon, 21 Apr 2008 08:09:54 -0500
To: bug-HTTP-Daemon-App [...] rt.cpan.org
From: Dan Muey <webmaster [...] simplemood.com>
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). > >