Declare/Meta/Internal.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/Event.pm ↑ Summary Declare/Meta/Param.pm »
1 package POE::Declare::Meta::Internal;
2  
3 =pod
4  
5 =head1 NAME
6  
7 POE::Declare::Meta::Internal - Reserve a named slot for internal use
8  
9 =head1 SYNOPSIS
10  
11 declare privatevar => 'Internal';
12  
13 =head1 DESCRIPTION
14  
15 B<POE::Declare::Meta::Internal> is a L<POE::Declare::Meta::Slot> sub-class
16 that is used to reserve a slot name purely for internal use.
17  
18 In practice, all this declaration really does is to guarentee that the
19 HASH key for that name will never be used by any other part of the object
20 or by any child classes.
21  
22 =cut
23  
24 5 ▶use 5.008007;
Subroutine BEGIN: called CC=1 SCAR=0.0
25 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
26 5 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
27 5 ▶use POE::Declare::Meta::Slot ();
Subroutine BEGIN: called CC=1 SCAR=0.0
28  
29 5 ▶use vars qw{$VERSION @ISA};
Subroutine BEGIN: called CC=1 SCAR=0.0
30 5 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
31 5 $VERSION = '0.59';
32 5 @ISA = 'POE::Declare::Meta::Slot';
33 }
34  
35 5 1;
36  
37 =pod
38  
39 =head1 SUPPORT
40  
41 Bugs should be always be reported via the CPAN bug tracker at
42  
43 L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=POE-Declare>
44  
45 For other issues, or commercial enhancement or support, contact the author.
46  
47 =head1 AUTHORS
48  
49 Adam Kennedy E<lt>adamk@cpan.orgE<gt>
50  
51 =head1 SEE ALSO
52  
53 L<POE>, L<POE::Declare>
54  
55 =head1 COPYRIGHT
56  
57 Copyright 2006 - 2012 Adam Kennedy.
58  
59 This program is free software; you can redistribute
60 it and/or modify it under the same terms as Perl itself.
61  
62 The full text of the license can be found in the
63 LICENSE file included with this module.
64  
65 =cut
« Declare/Meta/Event.pm ↑ Summary Declare/Meta/Param.pm »