in reply to Re: reboot for cisco ap
in thread reboot for cisco ap

U mean like this $session->waitfor('System configuration has been modified. Save? yesno: \s*\z', 4) ;

Replies are listed 'Best First'.
Re^3: reboot for cisco ap
by Ralesk (Pilgrim) on Feb 03, 2014 at 11:17 UTC

    Something like

    $telnet_session->waitfor('/System configuration has been modified. Save? [yes\/no]:$/') or return $telnet_session;