in reply to
Getting contents of URL
Your code works fine in LWP version 5.68. What version of LWP are you using?
perl -le "use LWP; print LWP->VERSION"
[download]
LWP::UserAgent's
get
method first appeared in LWP version 5.64.
Comment on
Re: Getting contents of URL
Select
or
Download
Code
In Section
Seekers of Perl Wisdom