[dancer-users] A problem with the "cookie" keyword

Punter punter at punter.gr
Mon Mar 4 11:39:11 GMT 2013


The "cookie" keyword right now returns a Dancer2::Core::Cookie object.

I think it would be better if it returned the value (or values in list 
context) of the cookie directly, or undef if no such cookie is available.

That is what the documentation in 
https://github.com/PerlDancer/Dancer2/blob/dave/doc-overhaul/lib/Dancer2/Manual/Keywords.pod 
describes.

I also think it would be best if you ppl fixed this as soon as possible, 
because it will break compatibility and users will have to edit their 
code, so the sooner the better (and the fewer people will have to edit 
their code).

Thanks.


More information about the dancer-users mailing list