> [EMAIL PROTECTED] - Sat Jun 18 02:28:41 2005]: > > -----BEGIN PGP SIGNED MESSAGE----- > > Moin, > > Steve Peters <[EMAIL PROTECTED]> wrote: > > >On Fri, Jun 17, 2005 at 07:55:04PM -0500, Steve Peters wrote: > >> On Fri, Jun 17, 2005 at 09:44:20AM -0700, Warren L Dodge wrote: > [snip] > >The below patch has been tested on a fresh bleadperl on Win32 and passed > >its tests. It also clears up the bugs seen above. Also included is a > >small doc nit for File::Find and a version bump. > > I am not sure, but couldn't all the platform-specific file/path/dir > juggling be done by File::Find just using File::Spec? > > Best wishes, > > Tels
Because, unfortunately, File::Spec doesn't deal with these sorts of issues on Win32 effectively. For example, on Win32, the rootdir is considered to be "/". That's fine, but since the typical Win32 file system is spread over multiple volumes, this is not particular helpful if you are looking across multiple volumes. The extra processing is needed so that users can tell the difference between "C:/foo" and "F:/foo".