Devel-Cover

 view release on metacpan or  search on metacpan

utils/makeh  view on Meta::CPAN

# The latest version of this software should be available from my homepage:
# http://www.pjcj.net

use strict;
use warnings;

my $Command = {
  strip_criterion => sub {
    my ($command, $criterion, $file) = @_;
    my $t;
    local ($^I, @ARGV) = (".bak", $file);
    while (<>) {
      $t = index($_, "$criterion   code") - 3 if !defined $t || $t < 0;
      substr $_, $t, 7, ""
        if /^line  err   stmt/ .. /^--------/
        and $t > -1
        and length > $t;
      print;
    }
  }
};



( run in 0.580 second using v1.01-cache-2.11-cpan-49f99fa48dc )