Jeff wrote:
: open(DOM, GET 'http://URL') || "unable to open website\n";
:
: The GET here doesn't actually get the results it just dumps the
: main URL not the results.
If you're using the GET method from HTTP::Request::Common, then that's
all it will return, the URL. It's encapsulates the request; it doesn't
run it.
I think what you want is "get()" from LWP::Simple. This one will
actually return the result of the query. Do "perldoc LWP::Simple" for
the module manpage and "perldoc lwpcook" for the LWP cookbook.
-- tdk