File: module1

package info (click to toggle)
libdevel-cover-perl 1.52-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,096 kB
  • sloc: perl: 11,568; sh: 1,030; makefile: 7
file content (32 lines) | stat: -rw-r--r-- 480 bytes parent folder | download
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
#!/usr/bin/perl

# Copyright 2002-2026, Paul Johnson (paul@pjcj.net)

# This software is free.  It is licensed under the same terms as Perl itself.

# The latest version of this software should be available from my homepage:
# https://pjcj.net

# __COVER__ changes s/56.3/56.2/

use strict;
use warnings;

use lib "tests";

use Module1;

my @x;

sub xx {
    $x[shift]++;
    Module1::zz(0);
}

for (0 .. 10) {
    if (time) {
        xx(0);
    } else {
        $x[1]++;
    }
}