File: SimpleTest.pm

package info (click to toggle)
libfilter-eof-perl 0.04-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 184 kB
  • sloc: perl: 1,083; makefile: 7
file content (27 lines) | stat: -rw-r--r-- 424 bytes parent folder | download | duplicates (3)
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
package SimpleTest;
use warnings;
use strict;

our (
    $TEST_ON_IMPORT,
    $TEST_ON_IMPORT_CLASS,
    $TEST_ON_IMPORT_ARGS,

    $TEST_ON_EOF,
    $TEST_ON_EOF_CLASS,

    $TEST_ORDER,
    $TEST_PHASE,
    $TEST_COMPILETIME,
    $TEST_RUNTIME,

    $TEST_MODIFICATION,
);

use SimpleFilter foo => 23, bar => 13;

BEGIN { $TEST_COMPILETIME = 1 if $TEST_PHASE eq 'compile' }

$TEST_RUNTIME = 1 if $TEST_PHASE eq 'run';

1;