|laziness, impatience, and hubris|
communicating with another programby twotone (Beadle)
|on Nov 30, 2005 at 08:33 UTC||Need Help??|
twotone has asked for the
wisdom of the Perl Monks concerning the following question:
I am using chapter 16 from the Perl Cookbook to try to figure out how to pass information to another program, then get results back from that program. I am using two perl scripts test1.pl and test2.pl.
Eventually I will be communicating with a "someprogram.exe" written and compiled in fox pro by another programmer. For now, I'm using the two perl scripts to get it figured out. (both programs will be on the same machine)
So far, I can activate the test2.pl script and get info back from it, but I can't successfully send info from test1.pl to test2.pl.
Here are the scripts:test1.pl
I run test1.pl and all I get back is "We received nothing!" from test2.pl.
Any ideas what I'm doing wrong?
WinXP, ActiveState Perl 5.6.1