File: Each.run

package info (click to toggle)
libperl-critic-freenode-perl 0.028-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 416 kB
  • sloc: perl: 986; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 157 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
## name UseEach
## failures 1
## cut

while (($key, $value) = each %hash) { ... }

## name NoEach
## failures 0
## cut

foreach my $key (keys %hash) { ... }