Basically, I'm trying to write a program that will log in to a website using my username and password and record the cookie sent to me. It then needs to "echo" that cookie back to the server in a POST request.
I've done a few POST requests before using HTTP::Request::Common. However, never anything using cookies. I looked around and I think I need to use a "cookie jar." I was unable to find much info about this online. And I still don't understand what on earth a cookie jar is. Could someone post a code sample, or at least point me in the right direction?