ports/devel/p5-File-Finder/pkg/DESCR

11 lines
355 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
use File::Finder;
## simulate "-type f"
my $all_files = File::Finder->type('f');
## any rule can be extended:
my $all_files_printer = $all_files->print;
File::Find is great, but constructing the wanted routine can
sometimes be a pain. This module provides a wanted-writer, using
syntax that is directly mappable to the find command's syntax.