# snippet of my code using Net::FTP @files = reverse (map { (split (/\s+/))[8]; } `ls -lrt F*`); foreach $filename (@files[0..4]) { COPY_FILES; } sub COPY_FILES { $ftp = Net::FTP->new("$remserv") || die "Could not connect : $!\n"; $ftp->login("$user","$pass"); $ftp->cwd("$dir"); $ftp->put("$filename"); $ftp->quit; }
In reply to Re: Reading
by azatoth
in thread Reading from ls-lrt (was: Reading)
by azatoth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |