syd_p wrote:
On 18 Mar, 23:10, [email protected] ("Dr.Ruud") wrote:
syd_p wrote:
The embedded system call fails ie returns 256 [i caught the code with
a $ret = system (" /usr/bin/cat /tmp/TT.sql | /tmp/TT.cmd");]
perldoc -f system
Ta. I did look at the ouput from perldoc -f system.
But this did not seem to help.
Am I missing something?
...
else {
printf "child exited with value %d\n", $? >> 8;
}
So it actually exited with value 1.
What did you expect?
--
Ruud
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/