OTRS-OPM-Installer
view release on metacpan or search on metacpan
lib/OTRS/OPM/Installer/Utils/OTRS.pm view on Meta::CPAN
my $string = $class . '::_build_manager';
$self->$string();
}
sub _find_version {
my ($self) = @_;
my $file = $self->path . '/RELEASE';
my $content = do { local ( @ARGV, $/ ) = $file; <> };
my ($version) = $content =~ m{VERSION \s+ = \s+ ([0-9.]+)}xms;
return $version;
}
sub _build_inc {
my ($self) = @_;
return [ map{ $self->path . "/" . $_ }( '', 'Kernel/cpan-lib' ) ];
}
( run in 0.901 second using v1.01-cache-2.11-cpan-49f99fa48dc )