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
YAML
|
---|
In Section
Seekers of Perl Wisdom