demo.pl untested

filter: Statementstmt 0.0% 0 / 16 Branchbran 0.0% 0 / 2 Conditioncond 0.0% 0 / 4 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 29 CC 2 SCAR 13.9
CC
2
Cov
0%
END
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 4.0
1 # Before `make install' is performed this script should be runnable with
2 # `make test'. After `make install' it should work as `perl test.pl'
3  
4 ######################### We start with some black magic to print on failure.
5  
6 BEGIN { $| = 1; print "1..1\n"; }
7 END {print "not ok 1\n" unless $loaded;}
8 use Devel::Trace;
9 $loaded = 1;
10 print "ok 1\n";
11  
12 ######################### End of black magic.
13  
14 open S, "< sample" or die "Couldn't open sample demo file: $!; aborting";
15 print while <S>;
16 close S;
17 print "\n";
18 print "Press enter to execute this file. \n";
19 <STDIN>;
20 system("perl -I./blib/lib -d:Trace sample");
21 $? and die "Problem running sample program: $? exit status\n";