This should capture each screen of the report to a file and press ENTER until it sees 'REPORT FINISHED'. I suspect I may not be evaluating this correctly. Thanksuntil ($t->waitfor('/REPORT FINISHED/') == 1) { ($op1) = $t->waitfor('/PRESS RETURN/'); print NVFILE $op1; $t->print(""); }
In reply to Net::Telnet waitfor loop by sonicscott9041
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |