about summary refs log tree commit homepage
path: root/lib/Devel/Mwrap.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Devel/Mwrap.pm')
-rw-r--r--lib/Devel/Mwrap.pm21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/Devel/Mwrap.pm b/lib/Devel/Mwrap.pm
new file mode 100644
index 0000000..2691802
--- /dev/null
+++ b/lib/Devel/Mwrap.pm
@@ -0,0 +1,21 @@
+# Copyright (C) all contributors <mwrap-perl@80x24.org>
+# License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
+package Devel::Mwrap;
+use v5.12;
+our $VERSION = '0.0.0';
+use XSLoader;
+XSLoader::load(__PACKAGE__, $VERSION);
+
+# allow using via the "-d:Mwrap" switch on the command-line:
+package # hide the package from the PAUSE indexer
+        DB;
+
+sub DB {} # noop, just keeps "-d:Mwrap" happy
+
+1;
+__END__
+=pod
+
+=head1 NAME
+
+Devel::Mwrap - LD_PRELOAD malloc wrapper + line stats for Perl