As much as I LOOOOVE Data::Dumper, in this instance, i'd prefer (and i'm quoting the CGI.pm docs)
in reply to Re: saving data problem
in thread saving data problem
SAVING THE STATE OF THE SCRIPT TO A FILE:
This will write the current state of the form to the provided filehandle. You can read it back in by providing a filehandle to the new() method. Note that the filehandle can be a file, a pipe, or whatever!