[dancer-users] Dancer2 0.160000 en route to CPAN!

Gabor Szabo gabor at szabgab.com
Mon Apr 27 07:20:57 BST 2015


I have code like this:

hook after => sub {

    my ($response) = @_;
    if ($response->status != 200) {
       ...
    }

    return;

};

In Dancer2-0.159003  the after hooks used to get an object that had a
method called 'status'.

In Dancer2-0.160000 it is not the case any more.

I get the following:  Can't locate object method "status" via package
"Dancer2::Core::Response::Delayed"

Was this change intentional?

Gabor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20150427/a4d57d09/attachment.html>


More information about the dancer-users mailing list