XP is just a number | |
PerlMonks |
Re: How to resolve bad hostname error messageby haukex (Archbishop) |
on May 02, 2017 at 16:51 UTC ( [id://1189331]=note: print w/replies, xml ) | Need Help?? |
I can successfully ping securities.stanford.edu ... Can't connect to www.securities.stanford.edu:80 (Bad hostname) Note the different hostnames. From here, I can resolve securities.stanford.edu, but not www.securities.stanford.edu. Try changing your code to my $get_file = "http://securities.stanford.edu/...
In Section
Seekers of Perl Wisdom
|
|