in reply to Saving state in cgi.pm question

If you are looking at storing data in persiant form of use later :-
use Storable qw{freeze thaw};
are worth keeping in mind.

Hope it helps
UnderMine