File: test_8.pm

package info (click to toggle)
libdevel-pragma-perl 0.54-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 448 kB
  • sloc: perl: 747; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 210 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package test_8;

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;