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


in reply to I need to export variable as another user

Have you tried saving the variables to a disk file using YAML? YAML allows you to save your variables and then read them back in at a later time or as I use it to set up a global configuration file between all of my Perl scripts. Using YAML also allows you to pass very complex data between applications that otherwise would cause a script to fail if the same data was passed as a command line argument.

YAML
  • Comment on Re: I need to export variable as another user