- or download this
for my $file (`ls -l /some/dir`) { ... }
- or download this
opendir(DIR, $some_dir) || die "can't opendir $some_dir: $!";
@files= grep { -f "$some_dir/$_" } readdir(DIR);
closedir DIR;
- or download this
#
# mailit - send an email using mailx. Accepts either a $body or a path
+
...
}
}
}