Commit | Line | Data |
---|---|---|
5d4df3f8 | 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 | ||
21f7fab9 | 14 | sub baz { } |
15 | sub qux { } | |
16 | ||
17 | ||
5d4df3f8 | 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 | ||
21f7fab9 | 34 | =head1 METHODS |
35 | ||
36 | =over 4 | |
37 | ||
38 | =item baz | |
39 | ||
40 | =back | |
41 | ||
5d4df3f8 | 42 | =cut |