There are many modules that can deal with web pages. A very easy one is LWP::Simple. There are many others! Get started, then show us code and where you are having troubles.
Of course test the URL that you are trying to get by using your normal Web browser. If it can't "get" it, Perl can't either.