Re: Net::Telnet

2008-08-13 Thread Hashmat Khan
> >>> I get this error: > >>> maximum input buffer length exceeded: 1048576 bytes at D:\Docs\Perl > >>> \scripts\ > >>> ti_p2k_bld.pl line 33 > > >>> This could be because $prematch is gets a very big string and so it > >>> exceeds the limit which I had suspected before. > >>> Bottomline, I want t

Re: Net::Telnet

2008-08-11 Thread Hashmat Khan
ytes at D:\Docs\Perl \scripts\ ti_p2k_bld.pl line 33 This could be because $prematch is gets a very big string and so it exceeds the limit which I had suspected before. Bottomline, I want to get the $match value. How can I do this ? thanks, Hashmat On Aug 7, 7:08 pm, [EMAIL PROTECTED] (Hashmat Kh

Re: Net::Telnet

2008-08-07 Thread Hashmat Khan
Hi, The only issue I have now is with timeout, and how do I disable this ? thanks, Hashmat On Thu, Aug 7, 2008 at 7:07 PM, Rob Dixon <[EMAIL PROTECTED]> wrote: > Hashmat Khan wrote: > > > > ok.. the latest on this... > > when I try cmd for certain commands, it doesn

Re: Net::Telnet

2008-08-07 Thread Hashmat Khan
? The perl documentation says: If $secs is 0 then time-out occurs if the data cannot be immediately read or written. Use the undefined value to turn off timing-out completely. What is undefined value ? Thanks, Hashmat On Aug 5, 2:52 pm, [EMAIL PROTECTED] (Hashmat Khan) wrote: > Hello Rob, >

Re: Net::Telnet

2008-08-07 Thread Hashmat Khan
On Aug 5, 2:52 pm, [EMAIL PROTECTED] (Hashmat Khan) wrote: > Hello Rob, > > Thanks for the reply. > Yes, I am using  Net::Telnet. And I am new to perl, I was not aware if there > are other methods to start telnet using perl. > I did as you suggested. It worked but not complete

Re: Net::Telnet

2008-08-07 Thread Hashmat Khan
And when I use print, it doesn't work, I don't see any output, but if I use I see the output, but it times out(command timed out). thanks. On Aug 5, 2:52 pm, [EMAIL PROTECTED] (Hashmat Khan) wrote: > Hello Rob, > > Thanks for the reply. > Yes, I am using  Net::Telnet. And I

Re: Net::Telnet

2008-08-07 Thread Hashmat Khan
a clearcase view, anybody has any idea ? thanks. On Aug 5, 2:52 pm, [EMAIL PROTECTED] (Hashmat Khan) wrote: > Hello Rob, > > Thanks for the reply. > Yes, I am using  Net::Telnet. And I am new to perl, I was not aware if there > are other methods to start telnet using perl. > I did a

Re: Net::Telnet

2008-08-07 Thread Hashmat Khan
ok.. the latest on this... when I try cmd for certain commands, it doesn't work. But looks like print works, but I don't see any output(Input_log => \*STDOUT). So I can't verify my commands in print. How do we print the output of print ? On Aug 5, 2:52 pm, [EMAIL PROTECTED] (H

Re: Net::Telnet

2008-08-05 Thread Hashmat Khan
the commands. So I want to print all the input provided in the script and all the output. Thanks, Hashmat On Tue, Aug 5, 2008 at 4:57 AM, Rob Dixon <[EMAIL PROTECTED]> wrote: > Hashmat Khan wrote: > > > > Has anybody used Telnet ? > > > > I want to kn

Net::Telnet

2008-08-04 Thread Hashmat Khan
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/