-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcpan_xt.pl
More file actions
executable file
·56 lines (45 loc) · 842 Bytes
/
cpan_xt.pl
File metadata and controls
executable file
·56 lines (45 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/env perl
use 5.014;
use strict;
use warnings;
use English qw( -no_match_vars );
local $OUTPUT_AUTOFLUSH = 1;
use feature 'unicode_strings';
use autodie;
use diagnostics;
say 'START';
use CPAN;
CPAN::HandleConfig->load;
CPAN::Shell::setup_output;
CPAN::Index->reload;
my @modules = qw(
CPAN::Changes
CPAN::Meta
Perl::Critic
Perl::MinimumVersion
Test::CPAN::Changes
Test::CPAN::Changes::ReallyStrict
Test::CPAN::Meta
Test::CheckChanges
Test::DistManifest
Test::EOL
Test::HasVersion
Test::Kwalitee
Test::Kwalitee::Extra
Test::MinimumVersion
Test::Perl::Critic
Test::Pod
Test::Pod::Coverage
Test::Portability::Files
Test::Tabs
Test::Requires
Test::Spelling
Test::Synopsis
Test::Version
Test::Vars
);
for my $mod (@modules) {
CPAN::Shell->install($mod);
}
say 'END';
__END__