- or download this
my $datadir="/user1/localfiles/data/"
opendir LOCALDIR, "$datadir" or die "unable to open $datadir\a\n";
...
{
print "$file\n";
}
- or download this
my @localfiles=grep/.txt$/i readdir LOCALDIR;
- or download this
my @localfiles=grep/^file-15a_62_200405/i readdir LOCALDIR;