On Thu, Mar 28, 2002 at 12:39:12PM +1100, Ken Williams wrote:
>
> On Thursday, March 28, 2002, at 12:05 PM, Michael G Schwern wrote:
> >Particularly fragile is _is_prefix() which tries to guess if the given
> >filepath is located in the given prefix. And anything having to touch
> >File::Find (which doesn't deal with non-Unix filepaths at all).
>
> Crap, I didn't know that! Now *there's* a project worth some salt!
>
> At least it uses File::Basename a little bit, though probably not
> exhaustively.
File::Find? Yeah, someone a while ago went through and made it work
with MacOS files, but it's a real hack job. chromatic started on a
project to convert it all over to File::Spec, but it wound up quite a
bit slower.
On VMS it seems to work, sort of, but you get weird hybrid results
like:
user1:[schwern.src.foo]/bar/baz
Anyhow, make ExtUtils::Installed::_is_prefix not be a hack job first.
--
Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/
Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One
local $variable for local @people;