At 5:54 PM +0100 3/27/03, jesper.naur wrote:
>----- Original Message -----
>From: Michael G Schwern <[EMAIL PROTECTED]>
>To: jesper.naur <[EMAIL PROTECTED]>
>Cc: Craig A. Berry <[EMAIL PROTECTED]>; VMSPERL mailing list <[EMAIL PROTECTED]>
>Sent: Thursday, March 27, 2003 8:56
>Subject: Re: 5.8.1-to-be snapshot: please test
>
>
>> On Wed, Mar 26, 2003 at 11:47:21PM +0100, jesper.naur wrote:
>> > lib/ExtUtils/t/Installed.............FAILED at test 22
>> >
>> > The problem is, that Extutils::Installed trusts filenames to be usable as 
>> > module/package names. This does not work with mixed-case package names under the 
>> > well-known VMS non-mixed-case filesystem!
>>
>> Could you try the snapshot on makemaker.org?  I don't see this problem on
>> OpenVMS using the snapshot.  What's in 5.8.1-to-be is currently old.
>>
>
>I tried this, with exactly the same result. This is not a surprise, since installed.t 
>and installed.pm from makemaker.org are identical to the ones from the 5.8.1-to-be 
>kit. So the question is: Michael, are you using a VMS system with an ODS-5 formatted 
>disk, which supports mixed-case filenames? If you are, it would explain why you don't 
>see the problem. The problem 'only' occurs when using single-case ODS-2 disks, but 
>there it is serious enough.

I agree.  Installed.pm needs a complete rewrite to be case blind when
doing comparisons but still case preserving.  Possibly we just need
the key to the hash to be a lower case version of the module name and
put the mixed case module name elsewhere.  So you'd have something
like:

$self->{foo}{module_name} = 'Foo';

But this is not something I've had time to think through much less implement.
-- 
________________________________________
Craig A. Berry
mailto:[EMAIL PROTECTED]

"... getting out of a sonnet is much more
 difficult than getting in."
                 Brad Leithauser

Reply via email to