line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Data::Object::ClassHas; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
31934
|
use 5.014; |
|
1
|
|
|
|
|
4
|
|
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
19
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
39
|
|
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
475
|
use parent 'Data::Object::Attributes'; |
|
1
|
|
|
|
|
340
|
|
|
1
|
|
|
|
|
6
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $VERSION = '2.01'; # VERSION |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
1; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=encoding utf8 |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 NAME |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
Data::Object::ClassHas |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=cut |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 ABSTRACT |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Attribute Builder for Data-Object Class |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=cut |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
package main; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
# use Data::Object::Class; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
use Data::Object::ClassHas; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 DESCRIPTION |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
This package provides options for defining class attributes. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=cut |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 INHERITS |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
This package inherits behaviors from: |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
L<Data::Object::Attributes> |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=cut |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 AUTHOR |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
Al Newkirk, C<awncorp@cpan.org> |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 LICENSE |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
Copyright (C) 2011-2019, Al Newkirk, et al. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under the terms |
63
|
|
|
|
|
|
|
of the The Apache License, Version 2.0, as elucidated in the L<"license |
64
|
|
|
|
|
|
|
file"|https://github.com/iamalnewkirk/data-object-classhas/blob/master/LICENSE>. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head1 PROJECT |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
L<Wiki|https://github.com/iamalnewkirk/data-object-classhas/wiki> |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
L<Project|https://github.com/iamalnewkirk/data-object-classhas> |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
L<Initiatives|https://github.com/iamalnewkirk/data-object-classhas/projects> |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
L<Milestones|https://github.com/iamalnewkirk/data-object-classhas/milestones> |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
L<Contributing|https://github.com/iamalnewkirk/data-object-classhas/blob/master/CONTRIBUTE.md> |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
L<Issues|https://github.com/iamalnewkirk/data-object-classhas/issues> |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=cut |