On 6/20/06, John Peacock <[EMAIL PROTECTED]> wrote:
demerphq wrote:
> Sorry, do i understand you correctly: Blead is already special cased
> not to warn in this situation?
Blead doesn't need to special case it: the version code inherently
treats numbers with embedded underscores as alpha versions:
$ LD_LIBRARY_PATH=. ./perl -e '
> package stuff;
> $VERSION = "1.002_03";
> package main;
> print stuff->VERSION;'
1.002_030
As you can see, you don't even need to create a version object; it is
the version aware UNIVERSAL::VERSION which performs this magic...
Oh cool. Nice touch!
Yves
--
perl -Mre=debug -e "/just|another|perl|hacker/"