Re: help perl needed

2003-07-03 Thread Sudarshan Raghavan
vemulakonda uday bhaskar wrote: hi all This is the fifth time you have posted the same mail. Please avoid this, it is annoying i have got a code for file transger between two linux systems through ssh here is the code Did you run this code and see what happens? #!usr/bin/perl when y

help perl needed

2003-07-03 Thread vemulakonda uday bhaskar
hi all i have got a code for file transger between two linux systems through ssh here is the code #!usr/bin/perl use Net::SSH qw(sshopen2); my $user="username"; my $host="hostname"; my $cmd="commanad"; sshopen2("[EMAIL PROTECTED]",*REAEDR,*WRITER,"$cmd") or die "ssh :$!"; while() { chom