use File::Spec; my $path=File::Spec->catfile(qw( path to file),"*.txt"); my @files=glob($path);
Update: included directory handling with File::Spec
In reply to Re: Files within specified directory
by tirwhan
in thread Files within specified directory
by mosh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |