Lines Matching refs:version
99 $instance->set_version($opts{version});
323 $versions{$_->version()} = 1;
334 join(", ", map { $_->name()." => ".$_->version() } @items), "\n"
428 my $version = shift;
431 $version = $baseversion
432 if ($baseversion ne '*' && $version ne '*'
433 && cmp_versions($baseversion, $version) > 0);
435 return $version;
469 my $version = @items ? $items[0]->version() : $self->{currversion};
483 version =>
484 $self->_adjust_version($version),
577 version => $self->_adjust_version($items[0]->version()),
625 my $version = shift // '*';
629 $baseversion = $version;
646 if ($baseversion ne '*' && $version ne '*'
647 && cmp_versions($baseversion, $version) > 0);
649 $self->{currversion} = $version;
652 $_->{version} = $self->{currversion};
817 version => $a[2],
825 if ($opts{name} && $opts{version} && defined $opts{exists} && $opts{type}
828 my $version = $opts{version};
829 $version =~ s|_|.|g;
836 version => $version,
950 my $version = $self->version();
951 $version =~ s|\.|_|g;
955 $version,
1011 return cmp_versions($_[0]->version(), $_[1]->version());
1034 my $version = shift;
1037 unless $version && $version =~ /^\d+\.\d+\.\d+[a-z]{0,2}$/;
1039 return sub { $_[0]->version() eq $version };