Does what I want, but it hangs after printing what it has, it doesn't continue to the login screen..open(PIPE, "telnet 192.168.1.1 |") or die $!; while (<PIPE>) { $_ =~ s/192.168.1.1//; print $_; }
In reply to Re: Re[3]: Modifying STDOUT and keeping control
by Anonymous Monk
in thread Modifying STDOUT and keeping control
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |