line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Acme::Elk; |
2
|
|
|
|
|
|
|
our $VERSION = '1.001'; |
3
|
1
|
|
|
1
|
|
2232
|
use Moose (); |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
use Moose::Exporter; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
Moose::Exporter->setup_import_methods(also => 'Moose'); |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 NAME |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
Acme::Elk - it isn't Moose |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 VERSION |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
version 1.001 |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 SYNOPSIS |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
package MyObject; |
19
|
|
|
|
|
|
|
use Acme::Elk; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
has foo => ( |
22
|
|
|
|
|
|
|
is => 'rw', |
23
|
|
|
|
|
|
|
isa => 'Str', |
24
|
|
|
|
|
|
|
); |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 DESCRIPTION |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
In case you know someone with hang-ups about using L<Moose>, you can use |
29
|
|
|
|
|
|
|
L<Acme::Elk>. It is exactly the same as Moose, but named Acme::Elk. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
And it's already 1.000! |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 SPECIAL THANKS |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Inspired by Rob Kinyon. |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 AUTHOR |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Andrew Sterling Hanenkamp, C<< <hanenkamp@cpan.org> >> |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Copyright 2010 Andrew Sterling Hanenkamp. |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify it under |
46
|
|
|
|
|
|
|
the same terms as Perl itself. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=cut |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
1; |