in reply to Re: Getting contents of URL
in thread Getting contents of URL

I AM GETTING AN ERROR LIKE Can't locate object method "get" via package "LWP::UserAgent" at - line 11

Replies are listed 'Best First'.
Re^3: Getting contents of URL
by jbrugger (Parson) on Jul 28, 2005 at 05:10 UTC
    monarch's script works fine for me (it's basically the same as the example at LWP::UserAgent

    perhaps you forgot to make the new ua object?
    my $ua = LWP::UserAgent->new();

    "We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.