Remove all trailing whitespace
[gitmo/Moose.git] / benchmarks / cmop / lib / MOP / Installed / Point.pm
CommitLineData
38bf2a25 1
2use lib reverse @INC;
3
4package MOP::Installed::Point;
5
6use strict;
7use warnings;
8use metaclass;
9
10__PACKAGE__->meta->add_attribute('x' => (accessor => 'x', default => 10));
11__PACKAGE__->meta->add_attribute('y' => (accessor => 'y'));
12
13sub new {
14 my $class = shift;
15 $class->meta->new_object(@_);
16}
17
18sub clear {
19 my $self = shift;
20 $self->x(0);
064a13a3 21 $self->y(0);
38bf2a25 22}
23
241;
25
064a13a3 26__END__