in reply to Re^2: Reacting to Mojo::UserAgent Errors
in thread Reacting to Mojo::UserAgent Errors
"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 Section
Seekers of Perl Wisdom