in reply to Re: Processing directories (again) with File::Find
in thread Processing directories (again) with File::Find

Thanks for the suggestions, Skeeve. Unfortunately, everything is still seeming to be processed multiple times in no particular order.

One VERY IMPORTANT thing I forgot to mention - and which is probably causing problems as well as my bad syntax etc -is the fact that the directories have names that also consist of numbers. I thought that specifying /^$name\.*/ would limit it to filenames like 1.xx? (assuming a file structure of something like /03/4/1.32). I'm doing this on Windows, by the way

And yes, there is some processing after the file is read into an array (squirting it into a spreadsheet), but this part is the problematic bit...
  • Comment on Re: Re: Processing directories (again) with File::Find

Replies are listed 'Best First'.
Re: Re: Re: Processing directories (again) with File::Find
by Skeeve (Parson) on Jun 16, 2003 at 07:30 UTC
    My mistake. It should have been:
    if (/^$name\./) { open....
      That's great Skeeve - it opens the files nicely, and I can even see how it works. (I should have spotted that if myself - I'm still getting the hang of these implied variables)