blob: 8cb08d2a7c0afc886b4eda5733ef08bdc627566c (
plain)
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
|
- $short_entries[$#entries] = $1;
- sort { values %{$list->[$a]} <=> values %{$list->[$b]} }
- ($p->is_arch_compat < min map { $_->is_arch_compat } @chosen) ? 10 : 0;
- (-e "$urpm->{cachedir}/partial/$basename" && -s _ > 32)
- join('-', ($p->fullname)[0..2])
- $l[1..$#l]
- { sub f {} } f();
- package foo; ... foo::f()
- my $pid = chomp_(`pidof -x net_applet`) and kill 1, $pid;
- unless ($z = "") {}
- vec($mask, $Offsets{'all'}, 1) = 3
- don't use .perl_checker.cache when .perl_checker changed
- bad slice $l{@l} instead of @l{@l}
- last inside a do { ... } until
- map {; "$_.$ext" => 1 } @l
suggest map { ("$_.$ext" => 1) } @l
instead of saying unneeded ";"
- @l = (@l, foo());
- @l = (foo(), @l);
- $value =~ s!1!$self->getvalue!ge;
- http://perlcritic.com/pod/Perl/Critic/Policy/ControlStructures/ProhibitUnreachableCode.html
die ''; print "FOO\n";
exit ; print "FOO\n";
|