App-VW

 view release on metacpan or  search on metacpan

lib/App/VW/Install.pm  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
use strict;
use File::ShareDir 'module_dir';
 
sub options {
  my ($class) = @_;
  (
    $class->SUPER::options,
  );
}
 
our %systems;
$systems{debian} = {};
$systems{ubuntu} = $systems{debian};
$systems{gentoo} = undef;
$systems{centos} = undef;
 
sub post_installation_message {

lib/App/VW/Setup.pm  view on Meta::CPAN

5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
use Cwd;
use File::ShareDir 'module_dir';
use YAML 'DumpFile';
 
my $config = App::VW->config;
 
sub options {
  my ($class) = @_;
  (
    $class->SUPER::options,
    'port|p=i'     => 'port',
    'size|s=s'     => 'size',
    'modules|m=s@' => 'modules',
  );
}
 
sub run {
  my ($self, $app) = @_;
 
  die("Please specify an App to start.\n")



( run in 0.230 second using v1.01-cache-2.11-cpan-454fe037f31 )