line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package POE::Declare::Meta::Param; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=pod |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=head1 NAME |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
POE::Declare::Meta::Param - A named attribute passed to the constructor |
8
|
|
|
|
|
|
|
as a parameter. |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 DESCRIPTION |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
B is a sub-class of |
13
|
|
|
|
|
|
|
L. It defines an attribute for which the |
14
|
|
|
|
|
|
|
initial value will be passed as a named parameter to the constructor. |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
After the object has been created, it will still only be read-only. |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=cut |
19
|
|
|
|
|
|
|
|
20
|
7
|
|
|
7
|
|
79
|
use 5.008007; |
|
7
|
|
|
|
|
16
|
|
21
|
7
|
|
|
7
|
|
28
|
use strict; |
|
7
|
|
|
|
|
7
|
|
|
7
|
|
|
|
|
109
|
|
22
|
7
|
|
|
7
|
|
22
|
use warnings; |
|
7
|
|
|
|
|
7
|
|
|
7
|
|
|
|
|
123
|
|
23
|
7
|
|
|
7
|
|
2076
|
use POE::Declare::Meta::Attribute (); |
|
7
|
|
|
|
|
8
|
|
|
7
|
|
|
|
|
115
|
|
24
|
|
|
|
|
|
|
|
25
|
7
|
|
|
7
|
|
26
|
use vars qw{$VERSION @ISA}; |
|
7
|
|
|
|
|
6
|
|
|
7
|
|
|
|
|
329
|
|
26
|
|
|
|
|
|
|
BEGIN { |
27
|
7
|
|
|
7
|
|
10
|
$VERSION = '0.23_01'; |
28
|
7
|
|
|
|
|
173
|
@ISA = 'POE::Declare::Meta::Attribute'; |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=pod |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 SUPPORT |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Bugs should be always be reported via the CPAN bug tracker at |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
L |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
For other issues, or commercial enhancement or support, contact the author. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 AUTHORS |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Adam Kennedy Eadamk@cpan.orgE |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 SEE ALSO |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
L, L |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 COPYRIGHT |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Copyright 2006 - 2009 Adam Kennedy. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
This program is free software; you can redistribute |
56
|
|
|
|
|
|
|
it and/or modify it under the same terms as Perl itself. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
The full text of the license can be found in the |
59
|
|
|
|
|
|
|
LICENSE file included with this module. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=cut |