use File::Find::Rule qw/ find rule /; my @files = find( file => grep => qr{\Q$name\E}, in => $dir ); my $cname = $files[0];
In reply to Re: Grep a word and print the filename (File::Find::Rule)
by Anonymous Monk
in thread Grep a word and print the filename
by alokranjan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |