| 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; |