[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: This Fortnight on perl5-porters - 28 September-12 October 2008



David Landgren wrote:
>   Later on, in a particularly magnanimous gesture, John Peacock
>   announced that he had a patch that would do all that Matt wanted and
>   more, and asked if Matt was satisfied by it.
> 
>     UNIVERSAL::VERSION and version.pm
>     http://xrl.us/oudw7

Unfortunately, the more it was discussed, the more I could see that 
shipping code to explicitly exclude the UNIVERSAL::VERSION code was 
_guaranteed_ to cause breakage.  So I'm pulling back that offer and 
trying to come up with a better way to handle the original problem 
(which was someone had switch from floating point to an extended version 
discontinuously).

I wonder if I could detect a possible discontinuity like that and 
produce a more appropriate error message, like..

	You asked for $MODULE 1.94, but the installed package is 1.95.0
	Did you mean 1.094 (which is equivalent to 1.94.0)?

Would that make people happier?

John


Follow-Ups from:
"David Nicol" <davidnicol@gmail.com>
References to:
David Landgren <david@landgren.net>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]