in reply to Send a POST request with cookies

The docs for LWP::UserAgent clearly state an example of cookie usage. Look for cookie_jar.

~Thomas~ 
"Excuse me for butting in, but I'm interrupt-driven..."