in reply to Re: Hard to find bug in my File::Find code
in thread Hard to find bug in my File::Find code

So I'd need another variable, lets say $curr_depth which would be calculated at the start of a &wanted call, and then I can update the $depth global with it at the end of the call? Am I getting this right?

The reason its global now is so I can share it with &preprocess...
  • Comment on Re^2: Hard to find bug in my File::Find code