Re: grep array of arrays

2012-08-24 Thread Brandon McCaig
On Thu, Aug 23, 2012 at 05:19:34PM -0400, Shawn H Corey wrote: > You're trying to do too much in one statement. > > for my $coord ( @coords ){ > if( $coords->[0] >= 0 ){ > print join( q{, }, @{ $coords } ), "\n"; > } > } Looks like you're trying to do too much too. ;) You are test

Re: How to do ssh connection from client-to-remote machine1-to-remote machine2-to-remote machine3 and execute command on remote machine3

2012-08-24 Thread lina
On Friday 24,August,2012 07:28 PM, Sasikanth Eda wrote: > Hi All, > > I am working on an automation scenario, where the steps mentioned below are > to be performed; > > 1. Script has to run on client machine. > > 2. Using the Perl script on client machine, we need to login to remote > machine-1

Re: How to do ssh connection from client-to-remote machine1-to-remotemachine2-to-remote machine3 and execute command on remote machine3

2012-08-24 Thread Salvador Fandiño
El 24/08/12 13:28, Sasikanth Eda escribió: Hi All, I am working on an automation scenario, where the steps mentioned below are to be performed; 1. Script has to run on client machine. 2. Using the Perl script on client machine, we need to login to remote machine-1 using ssh protocol. 3. From

Re: How to do ssh connection from client-to-remote machine1-to-remote machine2-to-remote machine3 and execute command on remote machine3

2012-08-24 Thread Mohan L
On Fri, Aug 24, 2012 at 4:58 PM, Sasikanth Eda wrote: > Hi All, > > I am working on an automation scenario, where the steps mentioned below are > to be performed; > > 1. Script has to run on client machine. > > 2. Using the Perl script on client machine, we need to login to remote > machine-1 usin

Received ezmlm warning

2012-08-24 Thread Paul.G
Sending this as a test message, I received a warning saying that messages to me have been bouncing. Hopefully, I am still on the mailing list and this is just a glitch. Paul

How to do ssh connection from client-to-remote machine1-to-remote machine2-to-remote machine3 and execute command on remote machine3

2012-08-24 Thread Sasikanth Eda
Hi All, I am working on an automation scenario, where the steps mentioned below are to be performed; 1. Script has to run on client machine. 2. Using the Perl script on client machine, we need to login to remote machine-1 using ssh protocol. 3. From remote machine-1, the script should login to

Re: insert in perl tk

2012-08-24 Thread Shekar
Thanks for the correction Shlomi. Mistake from my side, i copy pasted the wrong line from my terminal !!! -- Shekar On Fri, Aug 24, 2012 at 2:49 PM, Shlomi Fish wrote: > Hi Shekar, > > On Fri, 24 Aug 2012 12:23:21 +0530 > Shekar wrote: > > > Try this. > > > > $t->insert("end", &gettime); >

Re: insert in perl tk

2012-08-24 Thread Shlomi Fish
Hi Shekar, On Fri, 24 Aug 2012 12:23:21 +0530 Shekar wrote: > Try this. > > $t->insert("end", &gettime); > Please don't recommend people to use leading ampersands in subroutine calls: * http://perl-begin.org/tutorials/bad-elements/#ampersand-in-subroutine-calls * https://www.socialtext.net/

Re: insert in perl tk

2012-08-24 Thread Irfan Sayed
thanks. it worked! regards irfan From: Shekar To: Irfan Sayed Cc: Jim Gibson ; Perl Beginners Sent: Friday, August 24, 2012 12:23 PM Subject: Re: insert in perl tk Try this. $t->insert("end", &gettime); -- Shekar On Fri, Aug 24, 2012 at 11:58 AM, Irfan Sayed wrote: i have to cal