example.pl untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 23 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/bin/env perl
2  
3 use 5.10.0;
4 use strict;
5 use warnings;
6  
7 use Limper;
8  
9 my $generic = sub {
10 headers('Content-Type' => 'application/json');
11 "{\"status\":\"OK\"}\n";
12 };
13  
14 get qr{^/} => $generic;
15 post qr{^/} => $generic;
16  
17 limp({listeners => 5});