Re: is this ssh happenign in parallel?

2011-11-10 Thread salva
On Nov 8, 12:56 am, rp.ne...@yahoo.com (Rajeev Prasad) wrote: > using the async option in Net::OpenSSH > > can someone help me understand whether in second loop commands are being > executed without waiting for them to complete, so that parallelism is > achieved as indicated by using async option

Re: how to use Net::OpenSSH::Parallel

2011-09-16 Thread salva
On Sep 14, 11:57 pm, rp.ne...@yahoo.com (Rajeev Prasad) wrote: > trying to use this module now. but i guess i have a very basic issue: > > currently i am running following in a loop for all hosts (and a inner loop > for all commands for a host): > >     my ($MFSSH) = Net::OpenSSH->new($HOST, >    

Re: Get names of files ONLY using module Net::SFTP::Foreign

2007-08-28 Thread salva
>{filename}\n" for @$files; after all, error checking is the only reason for "ls" returning an array ref instead of a list. Cheers, - Salva -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Get names of files ONLY using module Net::SFTP::Foreign

2007-08-27 Thread salva
On Aug 24, 2:57 pm, [EMAIL PROTECTED] (Marian Bednar) wrote: > Hi all, > > I am a newbie in this forum and Perl too ;-) > > I am trying writing script transfering files using module > Net::SFTP::Foreign. > > I need to retrieve from remote directory only names of files (not > directories, links,etc.