in reply to Rest::Client unable to access the proxy but curl command able to access the proxy
Is the endpoint you're trying to reach https perhaps? If so:
$client->getUseragent()->proxy(['http','https'], 'http://proxy.example.com:8888/');
In Section
Seekers of Perl Wisdom