1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Daniel Westermann-Clark wrote: |
5 |
> The comparison in the patch is too simplistic ... to catch this case I |
6 |
> think up2date-ng.pl would need to generate a list of version numbers |
7 |
> from CPAN with zeroes in place of the decimal points (instead of |
8 |
> having the decimal points stripped). |
9 |
> |
10 |
> /me goes to check if the same process would work for version numbers |
11 |
> on the Perl ebuilds |
12 |
> |
13 |
|
14 |
if we're going to go hog wild on this....split on the decimals, pad 0's |
15 |
at the end for equal lengths, then compare...i think....seem to remember |
16 |
using that technique once successfully, but then i dropped the code for |
17 |
sanity reasons (unrelated to the padding for equal lengths bit) |
18 |
|
19 |
- -- |
20 |
|
21 |
- -----o()o---------------------------------------------- |
22 |
Michael Cummings | #gentoo-dev, #gentoo-perl |
23 |
Gentoo Perl Dev | on irc.freenode.net |
24 |
Gentoo/SPARC |
25 |
Gentoo/AMD64 |
26 |
GPG: 0543 6FA3 5F82 3A76 3BF7 8323 AB5C ED4E 9E7F 4E2E |
27 |
- -----o()o---------------------------------------------- |
28 |
-----BEGIN PGP SIGNATURE----- |
29 |
Version: GnuPG v1.4.6 (GNU/Linux) |
30 |
|
31 |
iD8DBQFFyjaBq1ztTp5/Ti4RAlLNAJ9QLJPbeS+T15xZEOJ5Ywoh2pi9+QCbBGsm |
32 |
pbAfzJldprsKc5R/3oqdlA0= |
33 |
=sRTN |
34 |
-----END PGP SIGNATURE----- |
35 |
-- |
36 |
gentoo-perl@g.o mailing list |