blib/lib/Data/Stag/Simple.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 29 CC 1 SCAR 6.9
CC
1
Cov
0%
start_event
2.0
end_event
2.0
evbody
2.0
CRAP 2.0
1 package Data::Stag::Simple;
2  
3 =head1 NAME
4  
5 Data::Stag::Simple - Simple
6  
7 =head1 SYNOPSIS
8  
9  
10 =cut
11  
12 =head1 DESCRIPTION
13  
14 =head1 PUBLIC METHODS -
15  
16 =cut
17  
18 use strict;
19 use base qw(Data::Stag::Base);
20  
21 use vars qw($VERSION);
22 $VERSION="0.14";
23  
24  
25 sub start_event { shift;print "OPEN :$_[0]\n"}
26 sub end_event { shift;print "CLOSE:$_[0]\n"}
27 sub evbody { shift;my $b=shift || "";print "BODY:$b\n"}
28  
29 1;