projects
/
gitmo/Mouse.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Add some testing stuff to t/lib/MooseCompat.pm
[gitmo/Mouse.git]
/
t
/
800_with_external
/
lib
/
Foo.pm
1
package Foo;
2
use Mouse;
3
4
has foo => (
5
is => 'ro',
6
isa => 'Str',
7
);
8
9
has bar => (
10
is => 'ro',
11
isa => 'Str',
12
);
13
14
sub baz { }
15
sub qux { }
16
17
18
no Mouse;
19
__PACKAGE__->meta->make_immutable;
20
__END__
21
22
=head1 NAME
23
24
Foo - bar
25
26
=head1 ATTRIBUTES
27
28
=over 4
29
30
=item foo
31
32
=back
33
34
=head1 METHODS
35
36
=over 4
37
38
=item baz
39
40
=back
41
42
=cut