Help for this page
use FileSystemObjects::Directory; my $d = FileSystemObjects::Directory->new( '/root/dir' ); my @f = $d->files( -mask => "*.txt" );