Net:FTP, Net::Cmd

2001-07-19 Thread Ravi Channavajhala
I'm using Net::FTp and Net::Cmd modules in a script to completely automate some FTPing stuff. snippet $ftp->put($fileh,"/tmp/test.txt") || die "cant put the file\n"; $ftp->command("chmod","755","test.txt") || die "Cant run quot\n"; $ftp->quit(); I have no luck making the $ftp->command stuff to

Hash with multiple values per key

2001-05-30 Thread Ravi Channavajhala
Hi, Does anyone have a nifty way to do a sort and comparison of two or more hash keys with multiple values per key? I am building a hash with push (@{$a{$b}},$c); $b keeps changing, lets say in first instance it is "1" and "2" in second instance, and each instance has multiple values, e.g, ins

Hash with multiple values per key

2001-05-30 Thread Ravi Channavajhala
Hi, Does anyone have a nifty way to do a sort and comparison of two or more hash keys with multiple values per key? I am building a hash with push (@{$a{$b}},$c); $b keeps changing, lets say in first instance it is "1" and "2" in second instance, and each instance has multiple values, e.g, ins