Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Check for a new file in a directoryby insensate (Hermit) |
on Apr 21, 2004 at 15:52 UTC ( [id://347037]=note: print w/replies, xml ) | Need Help?? |
You're populating @difference with files in the directory that aren't in the log, as well as files in the log that aren't in the directory. Hence deleted files are showing up...
May be omitted.
In Section
Seekers of Perl Wisdom
|
|