BeginnerJoe
Programmer
I have a directory with three types of images (ex: gm0013a.jpg) all ending in either a.jpg b.jpg or c.jpg, depending upon their size. My question is, how would I copy only the files ending in a.jpg to a separate directory using perl. Should I slurp them all into an array or is there a better way. Any examples would be helpful. Thanks