in reply to Re: OS issues get everybody at some point
in thread OS issues get everybody at some point

The bug is in File::Find, as it doesn't use File::Spec to concatenate paths, so all paths returned by File::Find need to be run through File::Spec's canonpath

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

  • Comment on Re^2: OS issues get everybody at some point

Replies are listed 'Best First'.
Re^3: OS issues get everybody at some point (as sum e)
by tye (Sage) on May 24, 2005 at 15:47 UTC

    It is a bug to assume that File::Find returns "canonicalized" paths. It doesn't claim that it does. The bug was merlyn's assumption, not a failing in File::Find.

    You could claim that File::Find should be enhanced to conform to File::Spec's concept of canonical path formats. Or you could claim that File::Find should be using File::Spec instead of a ton of hard-coded '/'s. I'd be more likely to agree with the latter than the former, though the end result might be same, at least in some cases.

    - tye