in reply to Re^10: Can't call method "proxy" on an undefined value at
in thread Can't call method "proxy" on an undefined value at

@proxies is the array. Use

print "Current proxy:$proxy\n"; # Use this UA/Proxy to fetch something.... $ua->proxy(['http'], 'http://'.$proxy);
poj