in reply to Perl - unix process
The easiest way to make data generated by A.perl available to a separate process running B.perl may be to have A.perl write the data to external storage that B.perl can read. This would commonly be a database or file.
To learn how to use a database you might read some of the material in Database Programming.
To use a file, you have many options for formatting your data. You might search CPAN for serialize. In particular, you might be interested in YAML. There are also many modules that would help you if you wanted to save your data in the form of an XML file: you can search cpan for xml for options.
Another set of modules that you might find helpful are the Tie modules. Tie::Concurrent comes to mind as it appears you want concurrent access to the data. If you are certain that concurrency is not an issue then Tie::Simple or Tie::Persistent may be adequate.
Otherwise, you might consider the options presented in perlipc.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |