[dancer-users] Dancer2 0.160000 en route to CPAN!
xsawyerx at gmail.com
Mon Apr 27 10:32:39 BST 2015
None of our examples should use the parameters inside a route or a hook
(and I hope we have no such examples) because we do not assure what the
parameters will be. We provide the DSL instead.
You should *always* use the DSL (allowing us to deprecate behavior, work
around problems, and introduce changes) and not parameters. If you have any
code that does use the parameters, please change it. If you find examples
in which we made that mistake, please let us know so we could correct them.
Aside from all of this, we will fix this problem. It wasn't an intentional
change, and if we have no reason to introduce this change, we won't.
Thanks for reporting it and sorry for the breakage it cost you.
On Mon, Apr 27, 2015 at 9:14 AM, Gabor Szabo <gabor at szabgab.com> wrote:
> On Mon, Apr 27, 2015 at 8:54 AM, Russell Jenkins <
> russell.jenkins at strategicdata.com.au> wrote:
>> On 27/04/2015 4:20 pm, Gabor Szabo wrote:
>>> In Dancer2-0.160000 it is not the case any more.
>>> I get the following: Can't locate object method "status" via package
>>> Hey Garbor.
>> Its certainly not intentional!
> thank you for looking into this!
>> To help identify the cause, do the routes that trigger this error use the
>> `send_file` keyword ?
> Yes, I think so.
> BTW this is the build error:
> ps. I've already solved the problem for myself, using the request()
> function instead of the object passed to the after hook, but the issue
> might still be relevant to other people or might indicate some other issue
> as well.
> dancer-users mailing list
> dancer-users at dancer.pm
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dancer-users