in reply to use HTTP::Cookies?

You'll need to install the HTTP::Cookies module on your machine. This is quite easy if you have root access, and only mildly more difficult if not. The following command will drop you into an interactive module installation shell:
perl -MCPAN -e shell
From there, you can follow the directions at My Favorite Module: CPAN and if you need more, try difficulty using CPAN.pm.

-Blake