in reply to Re^2: Count folder/files in directory
in thread Count folder/files in directory

For me, File::Find does call the callback with $File::Find::name neither equal to . nor ... I would consider such behaviour buggy, myself. Not that I consider File::Find to be free of bugs, but using it beats implementing the recursive routine and worrying about meta entries returned from readdir.