It would be nice to be able to save arbitrary data structures to the user session scratch. This could be easily accomplished using Storable or Data::Dumper or Yaml.
Changing to read:
Add some new convenience methods that will setStructure() getStructure() that will store and retrieve as serialized JSON.
That's what I'm currently doing (using Storable and nfreeze). I'm saying it'd be sweet if WebGUI::Session::Scratch->set would check the type of reference and do it for me. That way WebGUI could perform some magic on it (like breaking it apart if it reaches 16,000 character maximum), and I wouldn't have to worry about anything.
Data structure go in, data structure come out. Like what Stow does, just not as volatile.
Of course, if it was a scalar, it'd be stored as-is.