Check out my recent node Login, post, reload. for a
complete working subroutine that uses the technique
outlined by merlyn. It also shows how to use the
useragent to deal with cookies for multiple requests.
Comment on Re: How to submit name & password using LWP ?