in reply to Re: Telnet responses
in thread Telnet responses

Thank you tybalt89...works great. I new I was close. ($returnedvalue, $match) was what I was missing. Thanks all for your wisdom!

Replies are listed 'Best First'.
Re^3: Telnet responses
by mikebailey (Novice) on Oct 21, 2023 at 13:57 UTC

    Maybe one more question. While using $ARGV and setting global value string with "my $string=$ARGV[0]. How would I use the "$t->waitfor ($string); instead of $t->waitfor ('//');