or use glob.
my @files = glob ("$dir/*.dat $dir/*.DAT");
But watch out for directory names that contain spaces, you may need to use bsd_glob instead.
In reply to Re: Get fullpath of file using grep
by RichardK
in thread Get fullpath of file using grep
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |