Guy Lupi wrote:
> Is it 
> possible that the script doesn't recognize the occurence of 
> br01-nyc1.ny# as the end of the command output?

Yes, the prompt could have been set incorrectly.

> If that is 
> the case, how do I tell the script "run the command "show ip 
> route", and when you see "br01-nyc1.ny#" again the output is 
> finished"?

That's what the prompt is for! $t->cmd() uses the prompt to
determine the end of output.

Set your prompt to a proper value and it will work.


-- 
Mark Thomas                    [EMAIL PROTECTED]
Internet Systems Architect     User Technology Associates, Inc.

$_=q;KvtuyboopuifeyQQfeemyibdlfee;; y.e.s. ;y+B-x+A-w+s; ;y;y; ;;print;;
 

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to