----- Original Message -----
From: "Bob Proulx" <[EMAIL PROTECTED]>


> > No, this is Perl. Version numbers are floating point numbers. (yes I
know
> > it's a crap situation, but that's just how it works).
>
> Then how do you explain 5.005_03?

Underscore is a no-op in numbers in Perl. Try it:

  my $i = 1_000_000;
  print "\$i is $i\n";

> Or 5.6.1?

That's a tricky one. 5.6.1 is the external version number. Perl core gets
away with this because they don't use the normal methods to create the perl
tarball and distribute perl. Plus internally, the perl version of 5.6.1 is
actually 5.006001. Check it:

  $ perl5.6.1 -le 'print $]'

> Even perl gave up on the leading zeros of
> 5.005_03 style of version numbers and changed to whole numbers
> separated by dots scheme of 5.6.1.

This was a marketing/confusion issue. All they really did was remove some
zeros so that it looked like we were working harder than people thought with
all the zeros in place. :-)

Matt.


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to