in reply to compare directory list with a text list of filenames

I suggest you do this outside perl with a commonly available "diff" tool, but the Perl module Algorithm::Diff would be sufficient, too. Get the file listings with a Win32 dir /s /b command, or a Un*x find command. The trick is to sort your file listings and remove any useless prefix stuff before comparing.

--
[ e d @ h a l l e y . c c ]