in reply to Control::CLI, SSH, Garbage Characters, & Prompt

Good morning Monks! I got this squared away by using waitfor (which I'd never been able to get to work prior) like so:

$MRV_match = $MRV_obj->waitfor('MMDDhhmmYYYY.*\n'); my $installprompttime = strftime ('%m%d%H%M%Y', gmtime); $MRV_output = $MRV_obj->print("$installprompttime\ny");