in reply to Deleting cookie?

If the cookie does not have an expiration date, it is a session cookie and will be removed when the browser closes.

Otherwise, set the expiration date of the cookie to a date in the past and re-send it to the browser.

See CGI::Cookie, in particular here.