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