Bastian Angerstein <[EMAIL PROTECTED]> asked:

[net::Telnet]
> Is it possible to update the internal Object-attribute ($last_prompt)?

>From the documentation:

last_prompt - last prompt read

    $string = $obj->last_prompt;

    $prev = $obj->last_prompt($string);

    With no argument this method returns the last prompt read by cmd() or
login(). See prompt(). With an argument it sets the last prompt read to
$string and returns the previous value. Normally, only internal methods set
the last prompt.

HTH,
Thomas

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to