Hi Hashmat, If I am getting you correclty then use this: --------CODE------------- $telnet = Net::Telnet->new(HOST); $telnet->login(USER,PASS) @display = $telnet ->cmd('ls -l'); print @display; --------CODE------------
On Aug 4, 11:33 am, [EMAIL PROTECTED] (Jm) wrote: > IO::Tee allows STDOUT as one of your output options > > > > > > On Mon, Aug 4, 2008 at 9:47 AM, Hashmat Khan <[EMAIL PROTECTED]> wrote: > > Hi, > > > Has anybody used Telnet ? > > > I want to know, how can we redirect the output to STDOUT instead of > > log file ? (Dump_Log => "dump.txt") > > > thanks, > > Hashmat > > > -- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > >http://learn.perl.org/ > > -- > since this is a gmail account, please verify the mailing list is > included in the reply to addresses- Hide quoted text - > > - Show quoted text - -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/