line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Venus::Kind::Utility; |
2
|
|
|
|
|
|
|
|
3
|
96
|
|
|
96
|
|
1905
|
use 5.018; |
|
96
|
|
|
|
|
375
|
|
4
|
|
|
|
|
|
|
|
5
|
96
|
|
|
96
|
|
546
|
use strict; |
|
96
|
|
|
|
|
212
|
|
|
96
|
|
|
|
|
2141
|
|
6
|
96
|
|
|
96
|
|
559
|
use warnings; |
|
96
|
|
|
|
|
217
|
|
|
96
|
|
|
|
|
3005
|
|
7
|
|
|
|
|
|
|
|
8
|
96
|
|
|
96
|
|
555
|
use Venus::Class 'base', 'with'; |
|
96
|
|
|
|
|
223
|
|
|
96
|
|
|
|
|
678
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
base 'Venus::Kind'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
with 'Venus::Role::Buildable'; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
# BUILDERS |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub build_arg { |
17
|
1430
|
|
|
1430
|
0
|
3617
|
my ($self, $data) = @_; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
return { |
20
|
1430
|
|
|
|
|
5470
|
value => $data, |
21
|
|
|
|
|
|
|
}; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 NAME |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Venus::Kind::Utility - Utility Base Class |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=cut |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 ABSTRACT |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Utility Base Class for Perl 5 |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 SYNOPSIS |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
package Example; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
use Venus::Class; |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
base 'Venus::Kind::Utility'; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
package main; |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
my $example = Example->new; |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=cut |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 DESCRIPTION |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
This package provides identity and methods common across all L utility |
57
|
|
|
|
|
|
|
classes. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=cut |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 INHERITS |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
This package inherits behaviors from: |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
L |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=cut |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head1 INTEGRATES |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
This package integrates behaviors from: |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
L |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=cut |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head1 AUTHORS |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Awncorp, C |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=cut |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head1 LICENSE |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
Copyright (C) 2000, Awncorp, C. |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
This program is free software, you can redistribute it and/or modify it under |
88
|
|
|
|
|
|
|
the terms of the Apache license version 2.0. |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=cut |