On 6/23/06, Adam Kennedy <[EMAIL PROTECTED]> wrote:

> Yes, the point i was making is that it should treat '0.23_04' as 0.2304.

Actually, that would be wrong. Perl version already have a mapping system.

0.2304 would be 0.230.400, or shorthand, 0.23.4

Underscores are not part of that.

Actually the point is that people use underbars in versions to
indicate that the version is a dev release.

However perl itself treates 0.24_04 as 0.2304:

D:\dev\perl\ver>perl -e"print 0.24_04
0.2404

And all im saying is that perl should $VERSION=~s/_//g; before doing 0+$VERSION.

Then the warning wouldnt occur. And the warning from $VERSION for this
reason is IMO _never_ useful. So it shouldnt happen.

Yves


--
perl -Mre=debug -e "/just|another|perl|hacker/"

Reply via email to