On Wed, Aug 25, 2010 at 11:43:05AM +0200, Michael Schroeder wrote:
Maybe, but that's not how perl compares versions:
$ cat Foo.pm package Foo; our $VERSION = '0.22'; 1; $ perl -e 'use Foo 0.2002' $ perl -e 'use Foo 0.23' Foo version 0.23 required--this is only version 0.22 at -e line 1. BEGIN failed--compilation aborted at -e line 1.
Hmm, seems I got that wrong. The 'use Foo 0.2002' should complain, of course. Looks like perl does some weird things internally, the version parsing code really looks awful. Cheers, Micha. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org