#!/usr/bin/perl $dir = "/root/dir"; opendir(DIR, $dir) or die "Can't open $dir: $!"; my @files = grep { -T $_ } readdir DIR;
In reply to Re: Read a list of files into an array
by regexes
in thread Read a list of files into an array
by monkeybus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |