Jerry D. Hedden wrote: > Add quotes around the value for $Text::Balanced::VERSION so > that CPAN will not report that a module update is needed: > > cpan> r > Package namespace installed latest in CPAN file > Text::Balanced 2 2.000000 DCONWAY/Text-Balanced-v2.0.0.tar.gz John Peacock wrote: > I'm not sure I understand why this fix should be > necessary. 2 is numerically equivalent to 2.000000, and > quoting a $VERSION assignment should not make any > difference (since there is no underscore involved). What > version of CPAN do you have installed that misses this? CPAN 1.8802 > Do you have the full XS release of Text::Balanced (and > hence version.pm) already installed? No, and that is not the point. 5.8.x@30165 updated Text::Balanced to 2.0.0 except for the following: +# I really don't want to bring the XS version module into maint. So for now, +# I'm commiting the sin of Bowdlerising Damian's module: +# use version; $VERSION = qv('2.0.0'); +$VERSION = 2.000000; The problem with this is that after building and installing 5.8.x@30165, and then running 'r' from the CPAN prompt, you get: Package namespace installed latest in CPAN file ... Text::Balanced 2 2.000000 DCONWAY/Text-Balanced-v2.0.0.tar.gz ... This is no good. It show there that an update is needed when there shouldn't be. My patch (which quotes the 2.000000) fixes this so that the above does not show up. ____________________________________________________________________________________ Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.htmlThread Previous | Thread Next