You might try writing the data to a file using Storable, and passing the name of the file to the other script. Or trying IPC::Shareable, but that may or may not be be more trouble than its worth.
Comment on Re: Can I pass a reference between two scripts?