http://www.perlmonks.org?node_id=803433


in reply to perl find module

use File::Find::Rule; my $finder = File::Find::Rule->file; $finder->name( qr/\.master$/ ); my @abs_files = $finder->in('/home/myself');
The interface can be a little funny, because the next example does the same..
use File::Find::Rule; my @abs_files = File::Find::Rule->file->name( qr/\.master$/ )->in('/ho +me/myself');
Anyhow, this is pretty much the same as in the examples for File::Find::Rule