I also know about the following commands:
$fh = $obj->input_log;
$fh = $obj->input_log($fh);
$fh = $obj->input_log($filename);
However, either I am using it wrong or it does not do what I need it to do.
I am trying to TELNET in my PERL script. I am able to issue commands, however, I need to verify that the commands ran succesfully. If not, the Program should abort with an error message. Below is my code, and I tried numerous coding to be able to exit with an error message, but was unsuccesful...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.