Dan

Results 194 comments of Dan

You normally need to pass a command to the script, whether it's `help` or `get` or `daemon` or something else. It's probably trying to run cgi due to something in...

Rereading the problem, did you mean to specify that it is run by a CGI server and that's why it's attempting to run the cgi command?

Custom generators can be easily added by third party modules: ``` $ua->transactor->add_generator(ndjson => sub ($t, $tx, $data) { # the code you wrote above }); ```

Found the guide: https://metacpan.org/pod/Mojolicious::Guides::Cookbook#Content-generators

On the feature request, it might be reasonable to add in core if and when there's suitable demand for it, but in the meantime it is easy to prototype via...

A role would allow it to be composed in conjunction with [other Mojo::UserAgent roles](https://metacpan.org/search?q=Mojo%3A%3AUserAgent%3A%3ARole%3A%3A) hence preferring it over subclassing. It means you have to add a method to install the...

How does this interact with the template cache? Is it protected from accessing files outside of registered template directories?

You could use https://metacpan.org/pod/With::Roles to apply roles as it keeps track of this within its own usage. Unfortunately it's not a feature of Role::Tiny itself so it would depend on...

Do you have a link to the specification? I still only see the draft on https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite#specifications. Note that the experimental designation is a Mojolicious designation, not based on how many...

> exit_code sometimes contains 72057594037927935, which is really -1 (all bits set to 1). this is actually `-1 >> 8`, which is how exit_code is set from `$?` after waitpid.