Pardon my ignorance, but how does one file a bug? It's probably also not as much a bug as a feature request or missing feature. The current set_cookie() works as expected in a scalar context, just not in an array context.

Your question is odd. I've always used $c->res->headers->set_cookie()01, which is documented in the Mojo docs, and it's always worked when I only needed to set ONE cookie in a response. Why would you use a controller method to set a header?

Okay, so I tried adding each of my cookies using $c->res->headers->add('Set-Cookie' => $val1); (where $val1 is changed for each value) and only the first cookie got set - the rest didn't make it into the headers.

Ah wait... No, it tried to set both cookies using a single Set-Cookie header, separated by a comma. I'm not sure that would even work, normally I see multiple cookies set using a new line with a new Set-Cookie: header for each cookie.

Hi guys, I've got a questions regarding applying the trim filter with Mojo::Validator. I have $validation->required('username', 'trim'); and if I understand correctly, this should strip the whitespaces at bothends and return the result. However it does not seem to work. Any advice?

I'm a little confused on how to print fatal mojolicious errors to a pretty page. Can someone point me to the right source? I want to use my own pretty template. I'd rather not use die as I also want it to support html.

I'm currently developing a routine for die. It uses exception.development.html.ep and I'm able to pass into this <%= $exception->message %> which is the argument that die passes. However, I'm wondering about passing other parameters. It is possible?