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


in reply to A question regarding cookies

"I have read some information on how to create them using the joys that is CPAN, but I would like to know the best module to use, and some sample code to write the cookie and any data in it"

I think the documentation provides an example you should be able to follow.

Martin