$VAR1 = [ [ 'show users | include idle 00:00:00', '*194 vty 0 spec idle 00:00:00 10.234.171.75' ] ]; #### ## ## Prepare for array to hold data from cmd ## This will hold the line sent (unfortunately - future work - find way to not capture this) ## This will hold the line returned, there should just be one line. ## I am interested in IP, this IP could vary ## my @res = (); ## ## Note that the 'cmd()' method will return the results ## that were observed on the target device, following the ## given command. push @res, [$con->cmd("show users | include idle 00:00:00")]; ## print Dumper \@res;