Am I mistaken, or does File::Find not descend into directories that only
have symlinks in them?

My code, simplified:

find({ follow => 1, wanted => \&PrintDir}, "somedir");

sub PrintDir {
  print $File::Find::dir . "\n";
}

If any directory *only* has symlinks in it but no real files, that
directory is not printed.

It seems to me that this is unrelated to "follow", which controls whether
symlinked *directories* are followed--in this case, it is a directory
full of symlinked files.

What am I missing?
-- 
Adam Rosi-Kessel
http://adam.rosi-kessel.org

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to