On Feb 24, 2012, at 4:48 PM, David Precious wrote:
> On Fri, 24 Feb 2012 15:31:43 -0600
> Puneet Kishor <[email protected]> wrote:
>
>> I added a `debug` to my app and now I am getting the following with
>> the latest version of Dancer
>>
>> Can't locate object method "new" via package
>> "Dancer::Exception::Core::Request" (perhaps you forgot to load
>> "Dancer::Exception::Core::Request"?)
>> at /opt/local/lib/perl5/site_perl/5.14.1/Dancer/Exception.pm line 64.
> [...]
>> Any idea why?
>
> This is a bug, fixed in devel:
>
> https://github.com/sukria/Dancer/commit/65e84b2d
>
> We should have a new stable release out soon,containing this fix (and a
> couple of others).
>
> The bug is triggered by a couple of error conditions within
> Dancer::Request, whereupon it tries to raise an exception of type
> Dancer::Exception::Core::Request, but that type wasn't defined.
>
yeah, actually, it wasn't because of `debug`. It was actually because I
accidentally typed
my $foo = params 'foo';
instead of
my $foo = param 'foo';
--
Puneet Kishor
_______________________________________________
Dancer-users mailing list
[email protected]
http://www.backup-manager.org/cgi-bin/listinfo/dancer-users