sample.pl untested

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1  
2 use Proc::Watchdog;
3  
4 my $w = new Proc::Watchdog;
5  
6 # Let's set up the timer
7  
8 $w->alarm(50);
9  
10 # Your critical code goes here
11  
12 #$w->reset;
13  
14 # This is safe now...