in reply to Re: Pass an "extra' variable to Find::File subroutine
in thread Pass an "extra' variable to Find::File subroutine
As you have it (and as you say), $source would be passed to the Recursive function. However, it's meant to be the second argument to File::Find's find function (the top-level directory to start recursing from), as that's how its API is defined.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Pass an "extra' variable to Find::File subroutine
by moritz (Cardinal) on Jun 22, 2010 at 14:23 UTC | |
by timtowtdi (Sexton) on Jun 23, 2010 at 05:11 UTC |