my $router = new Net::Telnet::Cisco(Host => $ip); my @output = $router->cmd("sh users"); print @output;