On Wednesday February 4, 2004 17:57, David Wheeler wrote:
> On Feb 4, 2004, at 2:34 PM, David Robins wrote:
> > And it doesn't work for the comparisons.  It'll import a CVS tag, but
> > it still thinks 1.2 > 1.10.
>
> No, it doesn't:
>
>    % perl -Mversion -le 'print version->new(qw$ Revision 1.2$) >
> version->new(qw$ Revision 1.10$)'
>
>    % perl -Mversion -le 'print version->new(qw$ Revision 1.10$) >
> version->new(qw$ Revision 1.2$)'

Ah, yes, that's right, the issue was that it converts it into a fairly 
horrible "%.03" representation which requires me to change the use to e.g. 
'use 1.002' for 1.2 and 1.02 or 1.020 for 1.20, which I don't like very much.  
I don't really like trying 'use qw($Revision 1.20$)' either, even if that 
works.

But coordinating with the 'version' author might be a good way to go, as David 
Ralsky suggested; I'll look into it.

Thanks,

-- 
Dave
Isa. 40:31

Reply via email to