That object you got back looks just like mine did when it failed to connect to the URL. Are you sure it is contacting the web server? Try printing "http://cmsbeta.morningstar.com/api/v2/2008428323/securities/$_"."/documents?colids=590&fields=*\n" and check you can connect to the resulting URL, with a browser, from the machine where your Perl is running