%user_data = $cookies{'user'}->value; print($user_data{field1}, "\n"); print($user_data{field2}, "\n");