in reply to Passing arguments as array and hash with executable Perl file

system (and common operating systems) can only pass strings to other programs. The easiest approach is to serialize your data using Storable or Data::Dumper to a file and then to pass the name of that file to the other program and load the data from there, using Storable or do. Alternatively, you could incorporate the code of the second program into the first program, maybe as a module.

  • Comment on Re: Passing arguments as array and hash with executable Perl file