@output=$t->print("show system"); $t->waitfor('m/]>/');
This cannot work, because the output of show system will only be available after you have assigned it into @output. You will need to use $t->cmd(...) to collect the output of a command.
In reply to Re^4: telnet from a cisco telnet
by Corion
in thread telnet from a cisco telnet
by Kumar Mantri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |