That will function in a similar fashion to your find command except you'll get back a list of filenames instead a string of newline seperated filepaths.use File::Spec; use File::Find::Rule; my @files = map { (File::Spec->splitpath $_)[-1] } find(file => name => "*ofas.db", in => $db_path);
_________
broquaint
In reply to Re: Find file name
by broquaint
in thread Find file name
by blueapache
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |