line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Data::Context::Loader; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# Created on: 2013-10-27 20:02:41 |
4
|
|
|
|
|
|
|
# Create by: Ivan Wills |
5
|
|
|
|
|
|
|
# $Id$ |
6
|
|
|
|
|
|
|
# $Revision$, $HeadURL$, $Date$ |
7
|
|
|
|
|
|
|
# $Revision$, $Source$, $Date$ |
8
|
|
|
|
|
|
|
|
9
|
2
|
|
|
2
|
|
2307
|
use Moose; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
18
|
|
10
|
2
|
|
|
2
|
|
6589
|
use version; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
14
|
|
11
|
2
|
|
|
2
|
|
110
|
use Carp; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
142
|
|
12
|
2
|
|
|
2
|
|
10
|
use Scalar::Util; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
73
|
|
13
|
2
|
|
|
2
|
|
10
|
use List::Util; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
99
|
|
14
|
2
|
|
|
2
|
|
8
|
use Data::Dumper qw/Dumper/; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
85
|
|
15
|
2
|
|
|
2
|
|
7
|
use English qw/ -no_match_vars /; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
15
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
our $VERSION = version->new('0.1.10'); |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 NAME |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Data::Context::Loader - <One-line description of module's purpose> |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 VERSION |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
This documentation refers to Data::Context::Loader version 0.1.10 |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 SYNOPSIS |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
use Data::Context::Loader; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
# Brief but working code example(s) here showing the most common usage(s) |
42
|
|
|
|
|
|
|
# This section will be as far as many users bother reading, so make it as |
43
|
|
|
|
|
|
|
# educational and exemplary as possible. |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 DESCRIPTION |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
A full description of the module and its features. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
May include numerous subsections (i.e., =head2, =head3, etc.). |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 SUBROUTINES/METHODS |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
A separate section listing the public components of the module's interface. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
These normally consist of either subroutines that may be exported, or methods |
58
|
|
|
|
|
|
|
that may be called on objects belonging to the classes that the module |
59
|
|
|
|
|
|
|
provides. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Name the section accordingly. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
In an object-oriented module, this section should begin with a sentence (of the |
64
|
|
|
|
|
|
|
form "An object of this class represents ...") to give the reader a high-level |
65
|
|
|
|
|
|
|
context to help them understand the methods that are subsequently described. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head1 DIAGNOSTICS |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
A list of every error and warning message that the module can generate (even |
73
|
|
|
|
|
|
|
the ones that will "never happen"), with a full explanation of each problem, |
74
|
|
|
|
|
|
|
one or more likely causes, and any suggested remedies. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head1 CONFIGURATION AND ENVIRONMENT |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
A full explanation of any configuration system(s) used by the module, including |
79
|
|
|
|
|
|
|
the names and locations of any configuration files, and the meaning of any |
80
|
|
|
|
|
|
|
environment variables or properties that can be set. These descriptions must |
81
|
|
|
|
|
|
|
also include details of any configuration language used. |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head1 DEPENDENCIES |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
A list of all of the other modules that this module relies upon, including any |
86
|
|
|
|
|
|
|
restrictions on versions, and an indication of whether these required modules |
87
|
|
|
|
|
|
|
are part of the standard Perl distribution, part of the module's distribution, |
88
|
|
|
|
|
|
|
or must be installed separately. |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head1 INCOMPATIBILITIES |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
A list of any modules that this module cannot be used in conjunction with. |
93
|
|
|
|
|
|
|
This may be due to name conflicts in the interface, or competition for system |
94
|
|
|
|
|
|
|
or program resources, or due to internal limitations of Perl (for example, many |
95
|
|
|
|
|
|
|
modules that use source code filters are mutually incompatible). |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head1 BUGS AND LIMITATIONS |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
A list of known problems with the module, together with some indication of |
100
|
|
|
|
|
|
|
whether they are likely to be fixed in an upcoming release. |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
Also, a list of restrictions on the features the module does provide: data types |
103
|
|
|
|
|
|
|
that cannot be handled, performance issues and the circumstances in which they |
104
|
|
|
|
|
|
|
may arise, practical limitations on the size of data sets, special cases that |
105
|
|
|
|
|
|
|
are not (yet) handled, etc. |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
The initial template usually just has: |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
There are no known bugs in this module. |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
Please report problems to Ivan Wills (ivan.wills@gmail.com). |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
Patches are welcome. |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head1 AUTHOR |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
Ivan Wills - (ivan.wills@gmail.com) |
118
|
|
|
|
|
|
|
<Author name(s)> (<contact address>) |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
Copyright (c) 2013 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077). |
123
|
|
|
|
|
|
|
All rights reserved. |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
This module is free software; you can redistribute it and/or modify it under |
126
|
|
|
|
|
|
|
the same terms as Perl itself. See L<perlartistic>. This program is |
127
|
|
|
|
|
|
|
distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
128
|
|
|
|
|
|
|
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
129
|
|
|
|
|
|
|
PARTICULAR PURPOSE. |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
=cut |