[email protected] (Andrew Solomon) writes: [...]
> The way it works it that `find` is traversing through the directories and > `$File::Find::dir` is the directory it's *in* when it calls your subroutine > on `$File::Find::name` which is inside that directory. When it was sitting > in `/three` it was only called on a non-directory (`three/tst.pl`) and > therefore didn't report that it was in directory `/three`. > > Does that clarify things for you? It does, and many thanks for that. -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
