File: lexical1.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 (18 lines) | stat: -rw-r--r-- 259 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package lexical1;

use strict;
use warnings;

# try to contaminate lexical2
# this should not happen if Lexical::SealRequireHints is installed

BEGIN {
    $^H |= 0x20000;
    $^H{'Devel::Pragma::Leak'} = 1
}

use lexical2;

sub test { lexical2::test() }

1;