sample.pl untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 11 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1
2 use Barcode::Cuecat;
3
4 my $bc = new Barcode::Cuecat();
5
6 while (<>) {
7 $bc->scan($_);
8 print "Type = ", $bc->type(), "\n";
9 print "Code = ", $bc->code(), "\n";
10 print "S/N = ", $bc->serial(), "\n";
11 print " ------------\n"
12 }