line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
use strict; |
3
|
1
|
|
|
1
|
|
526
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
22
|
|
4
|
1
|
|
|
1
|
|
5
|
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
22
|
|
5
|
|
|
|
|
|
|
use parent 'Perl::Critic::Policy::Community::WhileDiamondDefaultAssignment'; |
6
|
1
|
|
|
1
|
|
4
|
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
4
|
|
7
|
|
|
|
|
|
|
our $VERSION = 'v1.0.3'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
|
10
|
0
|
|
|
0
|
1
|
|
1; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 NAME |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
Perl::Critic::Policy::Freenode::WhileDiamondDefaultAssignment - Don't use while |
15
|
|
|
|
|
|
|
with implicit assignment to $_ |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 DESCRIPTION |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
Legacy C<freenode> theme policy alias. |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 POLICY MOVED |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
This policy has been moved to L<Perl::Critic::Community>. |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 AFFILIATION |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
This policy is part of L<Perl::Critic::Freenode>. |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 CONFIGURATION |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
This policy is not configurable except for the standard options. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 AUTHOR |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Dan Book, C<dbook@cpan.org> |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Copyright 2015, Dan Book. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
This library is free software; you may redistribute it and/or modify it under |
42
|
|
|
|
|
|
|
the terms of the Artistic License version 2.0. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 SEE ALSO |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
L<Perl::Critic>, L<Perl::Critic::Community> |