As implied in nysus' reply, you really want to be using the module CGI.pm in this project. There is a submodule called CGI::Cookie, which specifically does what you want: reads the cookies -- you can either create a hash or leave them in the CGI object and read them off as you need them. In any case, check out Use CGI or die; on this site to see why this module is such a good idea. | [reply] |