> > You have to store a reference to the hash, ie
> >
> > $Session->{Stuff} = \%stuff;
> > not
> > $Session->{Stuff} = %stuff;
>
>
> \%stuff is not a reference to a hash, it's a reference to each key and
> value in the hash. I don't think you'll ever have to use \ on arrays or
> hashes. The only way to get a hash ref is by using the {} operator. e.g.:
> {%stuff} Of course, you know how two copies of the data, so be careful.
Er, I beg to differ. \%hash returns a reference to that hash -
see the top of p.246 of the camel book, 2nd ed.
The {} operators are for creating *anonymous* hashes.