http://www.perlmonks.org?node_id=135088


in reply to Reading Variables from a File

See Object Serialization Basics for a few pointers, but it might be easier to use CGI.pm's (alt.) own save() and restore_paramaters() functions, along with your open() and flock()s.

  --k.