Call me crazy, but why do you need a cookie with two values? Why not just two cookies? And if you really want to put two values in there, just make them a string with a useful separator and split() the string to make it back into a hash?
($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
=~y~b-v~a-z~s; print