"It would be nice if Mojo::UserAgent allowed the useragent details to be set, but that doesn't appear to be the case."
See transactor:
# Change name of user agent $ua->transactor->name('MyUA 1.0');
Here I used eval to catch errors. I'll check the situation you mention above at a sane hour.
In reply to Re^3: Reacting to Mojo::UserAgent Errors
by marto
in thread Reacting to Mojo::UserAgent Errors
by AlwaysSurprised
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |