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 | ||
14 | no Mouse; | |
15 | __PACKAGE__->meta->make_immutable; | |
16 | __END__ | |
17 | ||
18 | =head1 NAME | |
19 | ||
20 | Foo - bar | |
21 | ||
22 | =head1 ATTRIBUTES | |
23 | ||
24 | =over 4 | |
25 | ||
26 | =item foo | |
27 | ||
28 | =back | |
29 | ||
30 | =cut |