jmmitc06 has asked for the wisdom of the Perl Monks concerning the following question:
So I've been trying to figure out a good way to pass the contents of a variable between two concurrently running perl programs. So for example, program 1 generates a variable '$number' and I want it to be sent to a second program to do something with (e.g. program 2 would print $number). I would like to do this without writing a temporary file or actually writing the contents of the variable somewhere by program 1 and reading it back into program 2, I want to move the data as directly (poor word choice, but hopefully it captures what I am trying to do) as possible between the two programs.
Also, does a similar method exist for passing data directly between a perl program and python or vice versa?
Thanks for any help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Passing Data Between Perl Programs
by choroba (Cardinal) on Jul 03, 2013 at 14:46 UTC | |
|
Re: Passing Data Between Perl Programs
by Preceptor (Deacon) on Jul 03, 2013 at 18:26 UTC | |
by jmmitc06 (Beadle) on Jul 05, 2013 at 04:57 UTC | |
|
Re: Passing Data Between Perl Programs
by kcott (Archbishop) on Jul 04, 2013 at 08:55 UTC | |
by jmmitc06 (Beadle) on Jul 05, 2013 at 05:00 UTC | |
by Preceptor (Deacon) on Jul 07, 2013 at 19:38 UTC | |
by jmmitc06 (Beadle) on Jul 30, 2013 at 04:36 UTC | |
|
Re: Passing Data Between Perl Programs
by Anonymous Monk on Jul 04, 2013 at 01:24 UTC |