Re: unable to connect to all the hosts using Net::SSH2 module

2009-03-12 Thread Gunnar Hjalmarsson
monnappa appaiah wrote: Gunnar Hjalmarsson wrote: monnappa appaiah wrote: I"m sorry for starting the new threadi tried to understand the solution but i couldn't understand much from it, i have used the used eval to trap errors but after that i couldn't understand as i'm new to perl

Re: unable to connect to all the hosts using Net::SSH2 module

2009-03-12 Thread monnappa appaiah
can u suggest me some book or material from which i can understand some advance concepts of perl...i'm refering to learning perl On Thu, Mar 12, 2009 at 3:53 PM, Gunnar Hjalmarsson wrote: > monnappa appaiah wrote: > >> I"m sorry for starting the new threadi tried to understand the >>

Re: unable to connect to all the hosts using Net::SSH2 module

2009-03-12 Thread Gunnar Hjalmarsson
monnappa appaiah wrote: I"m sorry for starting the new threadi tried to understand the solution but i couldn't understand much from it, i have used the used eval to trap errors but after that i couldn't understand as i'm new to perl Maybe the task you are trying to accomplish is somewha

Re: unable to connect to all the hosts using Net::SSH2 module

2009-03-12 Thread monnappa appaiah
Hi Gunnar, I don't get 132 unable to connect host message.but i get this error message Can't call method "exec" on an undefined value at C:\perl-scripts\new_test\test.pl line 22, <$input> line 48. I noted an another interesting thing, if i run the same script for the se

Re: unable to connect to all the hosts using Net::SSH2 module

2009-03-11 Thread Gunnar Hjalmarsson
monnappa appaiah wrote: Below is the script to login to multiple hosts and then execute the command and give the ouput in text file This script will login to all the hosts in input.txt(this file contains around 137 hosts) but when i run the scriptits giving me output for only 5 hosts wherea

unable to connect to all the hosts using Net::SSH2 module

2009-03-10 Thread monnappa appaiah
Hi all, Below is the script to login to multiple hosts and then execute the command and give the ouput in text file This script will login to all the hosts in input.txt(this file contains around 137 hosts) but when i run the scriptits giving me output for only 5 hosts whereas input file h