On Tuesday, Nov 25, 2003, at 11:22 US/Pacific, Rogerio Agostinho wrote: [..]

my @output = $telnet->cmd("cleartool lsactivity -s -view $viewDesenv");


-or-

my @output;
my $result = $telnet->cmd('String' => "cleartool lsactivity -s -view
$viewDesenv", 'Output' => [EMAIL PROTECTED]);
[..]

This may be a bit odd, but have you thought about
the idea of using

ClearCase::ClearTool

cf

<http://www.cmcrossroads.com/bradapp/clearperl/ClearTool.html>

from the documentation at

<http://www.agsrhichome.bnl.gov/Controls/doc/ClearCaseEnv/v4.0doc/ cpf_4.0/ccase_ux/ccref/lsactivity.html>

it is not at all clear what the response will
look like IF there is no activity associated with the view.
So if you know that the 'view' you are requesting with
the view-tag SHOULD be returning something on the
far machine, then you would also know that your
telent to that machine was actually not 'working'.

There is also the issue with the 'prompt' setting
for Net::Telnet, since you may be getting yourself
killed with the problem that it is not seeing
the 'final prompt' - hence it is still waiting.

ciao
drieux

---


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to