eloc has asked for the wisdom of the Perl Monks concerning the following question:
Monks,
I humbly come before seeking your great wisdom.
I essentially want to use Perl to send input commands to GDB, read the output GDB supplies from these commands, and based on that output send more commands to GDB.
I believe open2() or open3() may be of use to me.
Is this possible? If so could you show me a simple example?
However, I am new to Perl, and would deeply appreciate any examples or advice you can provide.
|