in reply to Re: Testing Java code
in thread Testing Java code
Key thing is the pipe "|".open($javain, "java ... |") or die "...."; while (<$javain>) { #receive the output } close($javain); # # or # open($javaout, "| java ...") or die "...."; foreach (@inputline) { print $javaout $_; #send some input } close($$javaout);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Testing Java code
by drawde83 (Acolyte) on Sep 30, 2005 at 09:46 UTC | |
by Roy Johnson (Monsignor) on Sep 30, 2005 at 12:40 UTC | |
by hakkr (Chaplain) on Sep 30, 2005 at 13:08 UTC |