Remove slide on sharing a ref in a default (too obscure to really be worthwhile)
[gitmo/moose-presentations.git] / moose-class / exercises / answers / 04-method-modifiers / TPSReport.pm
CommitLineData
538499df 1package TPSReport;
2
3use Moose;
4
5extends 'Report';
6
7has [ qw( t p s ) ] => ( is => 'ro' );
8
9augment output => sub {
10 my $self = shift;
11
12 return join q{}, map { "$_: " . $self->$_ . "\n" } qw( t p s );
13};
14
15no Moose;
16
17__PACKAGE__->meta->make_immutable;
18
191;