develooper Front page | perl.perl5.porters | Postings from July 2008

Re: [rt.cpan.org #37251] File::Spec->case_tolerant works only on systems where one filesystem type is installed

Thread Previous | Thread Next
From:
Reini Urban
Date:
July 3, 2008 00:31
Subject:
Re: [rt.cpan.org #37251] File::Spec->case_tolerant works only on systems where one filesystem type is installed
Message ID:
6910a60807030026g43406d3ejd5efca0dcf6066ad@mail.gmail.com
2008/7/3 John E. Malmberg <wb8tyw@qsl.net>:
> Jeff Holt via RT wrote:
>>
>>       Queue: PathTools
>>  Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=37251 >
>>
>> I'll give it a try. That's what I get for opening my big mouth. LOL
>>
>> BTW, I can personally test only the Unix (Linux and Solaris), Win32, and
>> Cygwin subclasses. That is, unless you know where I get access to Mac,
>> OS2,
>> and VMS. I'm not too worried about the installation frequency on OS2 but
>> Mac
>> and probalby VMS are worth testing.
>
> The state of case-sensitive on VMS is this:
>
> 1. VAX is case insensitive always.  Alpha and IA64 with ODS-5 volumes can be
> case sensitive.
>
> 2. A process can be set to be case sensitive.  Some volumes can be accessed
> on a case sensitive basis and some do not preserve case.
>
> 3. The API for perl to understand this is in the process of being developed.
>
> 4. The perl build procedure on VMS creates files in the incorrect case, so
> when you set the process to be case sensitive most of the Perl library does
> not work.
>
> Pathtools needs a lot of patches to get up to speed with VMS using ODS-5
> volumes.

The problem is: What is the first arg and the default arg for
case_tolerant on VMS?

For Win32 it's the driveletter, default "c:", jan wants $ENV{SYSTEMDRIVE})
for cygwin/unix it's the mount point as in /etc/fstab, default "/"
for VMS? for ODS-5 I would just make it overridable for now. or use a
saner default.

Should all the core libs be updated to use this enhancement,
or just user-code which really need it?
Think of Module::Build (the worst) and Module::Install

-- 
Reini Urban
http://phpwiki.org/ http://murbreak.at/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About