use File::Find; my @filepaths; find sub { push @filepaths, $File::Find::name if /\.txt$/ }, '.'; # $_ is set to the current file basename
In reply to Re: Is there a unix find equivalent that can be processed inside a perl script?
by repellent
in thread Is there a unix find equivalent that can be processed inside a perl script?
by behindalens
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |