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

Version::Requirements and case-sens

Thread Next
Ricardo Signes
June 28, 2011 18:02
Version::Requirements and case-sens
Message ID:

When we added Version::Requirements to the core (to support CPAN::Meta) we
encountered a problem:  its installation to lib/Version/
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/" or "Version/Internals" depending on which got to make
lib/Version first.  This has caused problems for Strawberry Perl
( ) 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?


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About