in reply to File::Find giving unexpected results under windows

I just searched the File::Find documentation for the word "junction" and found nothing. Under the two functions that relate to symbolic links, the File::Find documentation states "This is a no-op on Win32." For these reasons, I suspect File::Find isn't programmed to handle Windows file systems correctly. (Windows 7 makes use of junction points in a way that previous versions of Windows did not.)

I suspect you won't be able to use Perl's core File::Find module for your Windows file system work. It also doesn't handle Unicode file names correctly on Windows, either. (Perl doesn't, so File::Find can't.)

I'm sorry the news isn't better.

  • Comment on Re: File::Find giving unexpected results under windows

Replies are listed 'Best First'.
Re^2: File::Find giving unexpected results under windows
by Joel (Novice) on Feb 14, 2011 at 23:46 UTC
    I've also been doing some searching and a junction appears to be a symbolic link. I did find that by using  no warnings 'File::Find'; I can suppress the messages (but I'm not really sure if the links are being followed or not). Thanks