File: Wantarray.run

package info (click to toggle)
libperl-critic-community-perl 1.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 428 kB
  • sloc: perl: 1,100; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 310 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## name UseWantarray
## failures 1
## cut

return wantarray ? () : undef;

## name UseCoreWantArray
## failures 1
## cut

return CORE::wantarray ? () : undef;

## name UseCoreApostrapheWantArray
## failures 1
## cut

return CORE'wantarray ? () : undef;

## name NoWantarray
## failures 0
## cut

return undef;