in reply to Remembering form data without cgi.pm

Warning: I'm not going to answer the question itself, as usage of CGI.pm will fix that almost automagically.

Yes, I reinvent wheels.