When using File::Find; Is there any built in way to know when you are in the top level of one of the directories in @directories?
I mean besides grepping $File::Find::dir. I know that give the current directory name and of course the top directory could be massages out with something like: my ($tdir) = $File::Find::dir =~ m/^\.\/([^\/]+)/; I didn't notice anything in perldoc File::Find, that seemed relevant so I'm guessing there is not any better way to know what is the top level of currently recursed directory. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/