|
From: Tom H. <th...@cy...> - 2004-11-02 10:57:00
|
In message <Pin...@he...>
Nicholas Nethercote <nj...@ca...> wrote:
> On Tue, 2 Nov 2004, Tom Hughes wrote:
>
>> Make sure we are using perl 5.6.0 as earlier versions won't work.
>>
>> +use 5.006;
>
> Is that right? The numbers don't match... does Perl use a wacky
> numbering scheme?
Yes ;-)
Prior to version 5.6 the number were written as 5.005_03 which is
exactly equivalent to 5.00503 (the _ is syntactic sugar) which is
major version 5, minor version 5, patch level 3.
From 5.6 onward they started using 5.6.1 as the style for version
numbers add added a language construct that allowed v5.6.1 to be
written which is equivalent to 5.00601.
Of course if you want an old version to parse it right then using the
original form is best.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|