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

$VERSION is just a scalar to Perl. There is nothing especially special about that (though it is the only Perl-level scalar that is explicitly referenced in the C sourcecode). The version objects can handle the underscore (as I'll reply in a minute to Adam's other message), but that is special handling.

The Perl tokenizer ignores underscores in bare numbers, but there is no way to force the same processing on random strings (certainly in older Perl releases). The use of the version.pm compatibility module can prevent the warning, while still preserving the original meaning.

John

--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748

Reply via email to