about summary refs log tree commit homepage
path: root/examples/mwrap.psgi
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mwrap.psgi')
-rw-r--r--examples/mwrap.psgi14
1 files changed, 0 insertions, 14 deletions
diff --git a/examples/mwrap.psgi b/examples/mwrap.psgi
deleted file mode 100644
index b4fcafb..0000000
--- a/examples/mwrap.psgi
+++ /dev/null
@@ -1,14 +0,0 @@
-# Copyright (C) all contributors <mwrap-perl@80x24.org>
-# License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
-# A startup command for development:
-#        plackup -I ./blib/lib -I ./blib/arch -o 127.0.0.1 examples/mwrap.psgi
-use v5.12;
-use Devel::Mwrap::PSGI;
-use Plack::Builder;
-my $mw = Devel::Mwrap::PSGI->new;
-delete $ENV{LD_PRELOAD}; # don't impose in subprocesses
-
-builder {
-        enable 'Head';
-        sub { $mw->call($_[0]) };
-}