in reply to Perl beginner here, needs a shove in the right direction.

Split your problem into pieces, you have two separate things to do :-

1) check a single file is in the correct format. Maybe write a function that takes file name and checks if it's ok.

2) find all the file names that need checking. glob is a good place to start.

Then you can work on each piece and get it working on it's own before getting them working together.

  • Comment on Re: Perl beginner here, needs a shove in the right direction.