http://www.perlmonks.org?node_id=187292


in reply to LWP cookie mystery

What I bascily want to do is just to GET the url where the form, that I'm going to POST to later, is located. If I can receive the url with correct cookie handling, I'm sure POST'ing will not be difficult either.

This example script solves exactly that problem.