line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Venus::Kind::Utility; |
2
|
|
|
|
|
|
|
|
3
|
87
|
|
|
87
|
|
1708
|
use 5.018; |
|
87
|
|
|
|
|
339
|
|
4
|
|
|
|
|
|
|
|
5
|
87
|
|
|
87
|
|
547
|
use strict; |
|
87
|
|
|
|
|
200
|
|
|
87
|
|
|
|
|
1839
|
|
6
|
87
|
|
|
87
|
|
409
|
use warnings; |
|
87
|
|
|
|
|
185
|
|
|
87
|
|
|
|
|
2324
|
|
7
|
|
|
|
|
|
|
|
8
|
87
|
|
|
87
|
|
432
|
use Venus::Class 'base', 'with'; |
|
87
|
|
|
|
|
184
|
|
|
87
|
|
|
|
|
551
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
base 'Venus::Kind'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
with 'Venus::Role::Buildable'; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
# BUILDERS |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub build_arg { |
17
|
1426
|
|
|
1426
|
0
|
3387
|
my ($self, $data) = @_; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
return { |
20
|
1426
|
|
|
|
|
5310
|
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, Al Newkirk. |
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 |