We have a test that confirms actual perl directory read behavior is that directories created after opendir are not seen when at EOF and doing a readdir.
This seems to be breaking only on freebsd for the moment.
http://matrix.cpantesters.org/?dist=Test-MockFile%200.008;os=freebsd;reports=1