line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Hub::Data::Nest; |
2
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
36
|
|
3
|
1
|
|
|
1
|
|
4
|
use Hub qw/:lib/; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
4
|
|
|
|
|
|
|
our $AUTOLOAD = ''; |
5
|
|
|
|
|
|
|
our $VERSION = '4.00043'; |
6
|
|
|
|
|
|
|
our @EXPORT = qw//; |
7
|
|
|
|
|
|
|
our @EXPORT_OK = qw//; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------ |
10
|
|
|
|
|
|
|
# new - Constructor. |
11
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------ |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub new { |
14
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
15
|
0
|
|
0
|
|
|
|
my $class = ref( $self ) || $self; |
16
|
0
|
|
|
|
|
|
my $obj = bless {}, $class; |
17
|
0
|
|
|
|
|
|
tie %$obj, 'Hub::Knots::TiedObject', 'Hub::Knots::Nest'; |
18
|
0
|
|
|
|
|
|
Hub::merge($$obj{'/'}, $_) for @_; |
19
|
0
|
|
|
|
|
|
return $obj; |
20
|
|
|
|
|
|
|
}#new |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------ |
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__END__ |