in reply to not able to reach to the prompt while using Net::Telnet

Try this:

$t->waitfor('/"Are you sure to continue\? \(Y\/N\)\? : "/');

UPDATE: Are quotes being displayed on a terminal session? If not, try:

$t->waitfor('/Are you sure to continue\? \(Y\/N\)\? : /');

Is any artifact in use like bold, blinking or colored text? Then, you must add some wildcards somewhere to match escape sequences.

Replies are listed 'Best First'.
Re^2: not able to reach to the prompt while using Net::Telnet
by godsown (Novice) on Dec 09, 2009 at 13:28 UTC
    the actual message does not contain quotation marks.. but even wen i try without the quotations, it fails at the same line with same error: "pattern match timed-out"..