liverpaul has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
I'm trying to read a webpage into a variable. I normally use  get(), but this webpage doesn't have a html extension. Example url: http://soccernet.espn.go.com/?cc=5739
Any ideas?
Thanks

Replies are listed 'Best First'.
Re: Read webpage into a variable
by Corion (Patriarch) on Nov 21, 2011 at 09:11 UTC

    What does the "html extension" have to do with it?

    Have you tried using get()?

    Also see WWW::Mechanize and RFC 2616.

      Yeah, I've used get() but it didn't work, so I assumed (maybe incorrectly?) that it was because the webpage doesn't have an extension.

        So maybe consider investigating how it "didn't work".