File: setup_pp.pl

package info (click to toggle)
libdata-pond-perl 0.005-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 160 kB
  • sloc: perl: 285; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 205 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
require XSLoader;

my $orig_load = \&XSLoader::load;
no warnings "redefine";
*XSLoader::load = sub {
	die "XS loading disabled for Data::Pond"
		if ($_[0] || "") eq "Data::Pond";
	goto &$orig_load;
};

1;