in reply to Re[3]: Modifying STDOUT and keeping control
in thread Modifying STDOUT and keeping control

This snippet:
open(PIPE, "telnet 192.168.1.1 |") or die $!; while (<PIPE>) { $_ =~ s/192.168.1.1//; print $_; }
Does what I want, but it hangs after printing what it has, it doesn't continue to the login screen..