Thanks for your post. I guess I missed that tidbit of info. I can see it pass the 1 when I query the string. I modified my call line to the following
@array=$telnet->cmd(string => 'ls', prompt => '/=>/');
to explain the prompt tag, I found the following tidbit of info
To run a program and gather its output, use the cmd method. Pass it the string to send; it returns the command output as one line per list element in list context, or as one long line in scalar context. It waits for the Prompt before returning.
my array is still coming back empty, I'm guessing I'm not passing the information via a list context, so how would I go about doing it?
Thanks again for all your help!