On 07/09/2015 01:19 PM, Jim Gibson wrote:
It is because you are calling the Traverse() subroutine with two arguments to
recurse a directory tree, but you are not using the arguments. Each call to
Traverse uses the global $dir variable as the root of the tree, so it will
never terminate.
You n
> On Jul 9, 2015, at 8:27 AM, Nagy Tamas (TVI-GmbH)
> wrote:
>
> Hi,
>
> So I have a better version. But if it goes down in the recursion tree, at the
> end it goes into infinite loop,
> because there is no other dir inside the last dir in the tree. At this point
> it has to step back. But