I just get empties values,,, I already tried the code lines bellow but it is not working... I have too much to do in my script.. but since I don’t get to make it works I can t step forward, I m working on it since 3 weeks ago but I just fails in all my tries :-( do u have any idea what I d=could do ?? as I told you I m using the module telnet.pm. I already have that website u sent me the link ( and I thanks u for that but all my tries are failing.. # ------------------------------------------------------------------------ - 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]); # ------------------------------------------------------------------------ - -----Mensagem original----- De: Wiggins d Anconia [mailto:[EMAIL PROTECTED] Enviada em: Tuesday, November 25, 2003 5:06 PM Para: Rogerio Agostinho; [EMAIL PROTECTED] Assunto: Re: telnet.pm > > Does some know how to get the output when I send commands to a telnet > server using a perl script??? I m using telnet.pm module > I do need it today and I don’t > Know what to do... :-( > If some one could help me.,plzz > Is, my @output = $telnet->cmd('ls -l'); not working for you? Check the docs: http://search.cpan.org/~jrogers/Net-Telnet-3.03/lib/Net/Telnet.pm There is a section that describes the various forms of the call to 'cmd'... including at least two ways of getting the output... What have you tried and what doesn't work? http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.541 / Virus Database: 335 - Release Date: 11/14/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.541 / Virus Database: 335 - Release Date: 11/14/2003 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]