← Back to team overview

pkg-perl-maintainers team mailing list archive

[Bug 935221] Re: libconfig-model-openssh-perl version 1.219-1 FTBFS on i386 in precise

 

And the problem in libconfig-augeas-perl is this:


andreas@anubis:~/t$ cat test.pl 
use version;

$version1 = "0.9.0";
$version2 = "0.10.0";

print "Using version->parse\n";
if (version->parse($version1) > version->parse($version2))
{
print "$version1 is greater than $version2\n";
}
else
{
print "$version1 is less than $version2\n";
}

print "Using >\n";
if ($version1 gt $version2)
{
print "$version1 is greater than $version2\n";
}
else
{
print "$version1 is less than $version2\n";
}
andreas@anubis:~/t$ perl test.pl
Using version->parse
0.9.0 is less than 0.10.0
Using gt
0.9.0 is greater than 0.10.0
andreas@anubis:~/t$

-- 
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libconfig-model-openssh-perl in
Ubuntu.
https://bugs.launchpad.net/bugs/935221

Title:
  libconfig-model-openssh-perl version 1.219-1 FTBFS on i386 in precise

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libconfig-augeas-perl/+bug/935221/+subscriptions


References