I have a perl script, in which I call other applications(written in C++).
Each application has different return values meaning different things.
For example: Return value of 0: meaning key not found.
Return value of 1: key found
Now, in my code, I have code as below:
my $exec = "$Folder/OtherTool";
my $output = `$exec`;
Now, it prints the messages for each return value. But doesn't print the return value code like "0", "1", etc.
How, can I just catch the return value instead of messages?
Thanks in advance.