Declare/Meta/Param.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 23 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Declare/Meta/Internal.pm ↑ Summary
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<POE::Declare::Meta::Param> is a sub-class of
13 L<POE::Declare::Meta::Attribute>. 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 ▶use 5.008007;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 7 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
22 7 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
23 7 ▶use POE::Declare::Meta::Attribute ();
Subroutine BEGIN: called CC=1 SCAR=0.0
24  
25 7 ▶use vars qw{$VERSION @ISA};
Subroutine BEGIN: called CC=1 SCAR=0.0
26 BEGIN {
27 7 ▶ $VERSION = '0.23_01';
Subroutine BEGIN: called CC=1 SCAR=0.0
28 7 @ISA = 'POE::Declare::Meta::Attribute';
29 }
30  
31 7 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<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=POE-Declare>
40  
41 For other issues, or commercial enhancement or support, contact the author.
42  
43 =head1 AUTHORS
44  
45 Adam Kennedy E<lt>adamk@cpan.orgE<gt>
46  
47 =head1 SEE ALSO
48  
49 L<POE>, L<POE::Declare>
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
« Declare/Meta/Internal.pm ↑ Summary