Ive been trying to open a directory with glob instead of opendir. Also, while in the directory I want to specify what type of files I'm looking for. Here is the path and I'm trying to find filenames that start with 'file' and end with '9'. Can someone please help. Here is what I have
my $dir = 'C:\work\section\platform\test\';
my @file = glob ("$dir/*file");
I've took out the 'file' after * and get all the files, but I just can't figure out how to get files that start with 'file' and end with '9'. Please help someone.