line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Module::New::File::MainModule;
|
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
1169
|
use strict;
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
70
|
|
4
|
2
|
|
|
2
|
|
11
|
use warnings;
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
56
|
|
5
|
2
|
|
|
2
|
|
9
|
use Module::New::File;
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
13
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.15'; # because this file had one previously
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
file '{MAINFILE}' => content { return <<'EOT';
|
10
|
|
|
|
|
|
|
package <%= $c->module %>;
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
use strict;
|
13
|
|
|
|
|
|
|
use warnings;
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
our <%= '$'.'VERSION' %> = '0.01';
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
% if ($c->config('xs')) {
|
18
|
|
|
|
|
|
|
require XSLoader;
|
19
|
|
|
|
|
|
|
XSLoader::load(__PACKAGE__, $VERSION);
|
20
|
|
|
|
|
|
|
% }
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1;
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
__END__
|