Debian Codegraph @

tests/pod_nocp

raw
1 #!/usr/bin/perl
2
3 # Copyright 2002-2026, Paul Johnson ([email protected])
4
5 # This software is free. It is licensed under the same terms as Perl itself.
6
7 # The latest version of this software should be available from my homepage:
8 # https://pjcj.net
9
10 # __COVER__ criteria pod-nocp-also_private-xx
11 # __COVER__ skip_test eval "use Pod::Coverage"; $@
12 # __COVER__ skip_reason Pod::Coverage unavailable
13
14 use strict;
15 use warnings;
16
17 use lib "tests";
18
19 use PodMod;
20
21 my @x;
22
23 sub xx {
24 $x[shift]++;
25 Module1::zz(0);
26 }
27
28 for (0 .. 10) {
29 if (time) {
30 xx(0);
31 } else {
32 $x[1]++;
33 }
34 }