SOAP-Lite
view release on metacpan or search on metacpan
examples/My/PingPong.pm view on Meta::CPAN
package My::PingPong;
sub new {
my $self = shift;
my $class = ref($self) || $self;
bless {_num=>shift} => $class;
}
sub next {
my $self = shift;
$self->{_num}++;
}
sub value {
my $self = shift;
$self->{_num};
}
1;
( run in 0.555 second using v1.01-cache-2.11-cpan-98e64b0badf )