#!perl use strict; use warnings; use File::Find; my @found_list; sub wanted { push @found_list, $File::Find::name if /^db\.table\.\d+$/ } find \&wanted, '.'; print "$_\n" for @found_list;
In reply to Re: Find a list of numbered files with same basename
by Roy Johnson
in thread Find a list of numbered files with same basename
by mnlight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |