File: test_10.pm

package info (click to toggle)
libdevel-pragma-perl 1.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 364 kB
  • sloc: perl: 449; makefile: 3
file content (14 lines) | stat: -rw-r--r-- 211 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package test_10;

use strict;
use warnings;

our $test;

# 0 for failure if the key has leaked
# 1 for success if it hasn't
BEGIN { $test = exists($^H{'Devel::Pragma::Test'}) ? 0 : 1 }

sub test() { $test }

1;