May 22, 2013, 12:05 PM
Post #2 of 3
There is no hash here at all. "proxy" is a method of the object $ua. which sets or gets the proxy servers. The method takes two arguments. The first is a reference to an array of protocol names. The second is the URL of the proxy server. In this case, the symbol '=>' has exactly the same meaning as a comma.
Re: [scj2012] Printing question
[In reply to]
The name 'http' is a scalar value. In a sense, this method "pairs" it (and 'https') with the url in $proxy.