develooper Front page | perl.perl5.porters | Postings from June 2011

Version::Requirements and case-sens

Thread Next
From:
Ricardo Signes
Date:
June 28, 2011 18:02
Subject:
Version::Requirements and case-sens
Message ID:
20110629010213.GA3294@cancer.codesimply.com

When we added Version::Requirements to the core (to support CPAN::Meta) we
encountered a problem:  its installation to lib/Version/Requirements.pm
conflicted with lib/version/Internals.*

We decided that this wouldn't matter:  on a case-sensitive filesystem, it could
be found properly even if installed to a directory with a different casing.  We
changed the policy and moved forward.

Now we're finding the big problem here:  when something crawls @INC, it finds
"version/Requirements.pm" or "Version/Internals" depending on which got to make
lib/Version first.  This has caused problems for Strawberry Perl
( http://csjewell.dreamwidth.org/20536.html ) and for FatPacker and presumably
for other things that I haven't noticed yet.

I propose to rename and deprecate Version::Requirements, to import the
new library and deprecation to core, so that we can remove V::R in 5.18 at the
absolute latest.  Also, that we should re-instate the previous, more strict
testing for case conflicts.

Any objections?

-- 
rjbs

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