I don't want to use fixed columns becuase the data won't need to be searched or anything like that, and because I'll use it for all sorts of different data over the whole site.
I want to convert the hash into a comma separated list so I can just store it as text, and convert it back again when I read the session data.
Example hash:
$h -> {user} = 53;
$h -> {screen_name} = "Bob";
$h -> {choice} = 7;
Would be stored as:
user,53,screen_name,Bob,choice,7
I'm not bothered about accommodating for array values, or infact strings containing commas as I don't think I'll have any. If I have I'll just escape them or something.