in reply to Re: how to get back a exit status using Net::Telnet
in thread how to get back a exit status using Net::Telnet

I tend to pop() off, for example:
@list = $t->cmd('who; echo $?'); $return_code_scalar=pop(@list);
rather than grep for a pattern in the output list.
Squibbie Pooh Ski Doo.