summaryrefslogtreecommitdiffstats
path: root/TODO
blob: 7d8f5a48a0ea50efa2ab41d92da95b543b2c1dea (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
- $10, $11, ...

- # perl_checker: use lib qw(/some/dir)

- # perl_checker: use foobar

- # perl_checker: RE-EXPORT-ALL in other modules

- $run{with_flags} .= $run{with_flags} . " --without " . $_[0];

- undeclared variable $^S

- unknown function -p

- $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";