A quick test using readdir in scalar context did find a file created after the opendir command..if it's name comes after the current file being processed in alphabetical order. And even that wasn't consistent; could be a fault of the slapdash test methodology. But based on this, I would not count on it finding newly created files.
In reply to Re: Open directory command in perl
by GotToBTru
in thread Open directory command in perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |