line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# This file is part of Moo-Lax |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# This software is Copyright (c) 2014 by Damien Krotkine. |
5
|
|
|
|
|
|
|
# |
6
|
|
|
|
|
|
|
# This is free software, licensed under: |
7
|
|
|
|
|
|
|
# |
8
|
|
|
|
|
|
|
# The Artistic License 2.0 (GPL Compatible) |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
package Moo::Lax; |
11
|
|
|
|
|
|
|
{ |
12
|
|
|
|
|
|
|
$Moo::Lax::VERSION = '0.15'; |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
#ABSTRACT: Loads Moo without turning warnings to fatal. |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
1
|
|
|
1
|
|
30641
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
40
|
|
19
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
27
|
|
20
|
|
|
|
|
|
|
|
21
|
1
|
|
|
1
|
|
917
|
use Moo (); |
|
1
|
|
|
|
|
27949
|
|
|
1
|
|
|
|
|
25
|
|
22
|
1
|
|
|
1
|
|
8
|
use Import::Into; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
27
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub import { |
25
|
1
|
|
|
1
|
|
5
|
no warnings 'uninitialized'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
109
|
|
26
|
1
|
|
|
1
|
|
11
|
my $previous_bits = ${^WARNING_BITS} & $warnings::DeadBits{all}; |
27
|
1
|
|
|
|
|
11
|
local $ENV{PERL_STRICTURES_EXTRA} = 0; |
28
|
1
|
|
|
|
|
10
|
Moo->import::into(caller, @_); |
29
|
1
|
|
|
|
|
2894
|
${^WARNING_BITS} &= ~$warnings::DeadBits{all} | $previous_bits; |
30
|
1
|
|
|
|
|
2276
|
return; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
1; |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
__END__ |