Re: File::Find .. still confused slightly

2017-07-05 Thread Harry Putnam
rea...@newsguy.com (Harry Putnam) writes: > What surprised me is the that when I ran them prefaced with the `time' > utility, I see the sloppy mess I wrote is nearly twice as fast. I may have found a reason. in the find sub {} part you did two returns return unless -f; return un

Re: File::Find .. still confused slightly

2017-07-05 Thread Harry Putnam
jimsgib...@gmail.com (Jim Gibson) writes: > You have a logic error in your code somewhere. Your logic for counting > the files with a name matching a certain pattern is too complicated to > follow and point out where your error lies and how to fix it. The > basic problem is that your logic depends

Re: File::Find .. still confused slightly

2017-07-05 Thread Jim Gibson
You have a logic error in your code somewhere. Your logic for counting the files with a name matching a certain pattern is too complicated to follow and point out where your error lies and how to fix it. The basic problem is that your logic depends upon detecting when the directory name changes,