| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
# Data::Hopen::Scope::Inputs - Scope that can hold multiple sets of inputs |
|
2
|
|
|
|
|
|
|
package Data::Hopen::Scope::Inputs; |
|
3
|
1
|
|
|
1
|
|
1386
|
use Data::Hopen; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
71
|
|
|
4
|
1
|
|
|
1
|
|
6
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
24
|
|
|
5
|
1
|
|
|
1
|
|
4
|
use Data::Hopen::Base; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
6
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.000021'; |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# TODO if a class |
|
10
|
1
|
|
|
1
|
|
299
|
use parent 'Data::Hopen::Scope'; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
7
|
|
|
11
|
|
|
|
|
|
|
use Class::Tiny { |
|
12
|
0
|
|
|
|
|
|
_sets => sub { +{} }, |
|
13
|
1
|
|
|
1
|
|
91
|
}; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
11
|
|
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# Docs {{{1 |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 NAME |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
Data::Hopen::Scope::Inputs - Scope that can hold multiple sets of inputs |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
TODO Implement this. |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head2 _sets |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Hashref of the input sets. |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=cut |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
# }}}1 |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 FUNCTIONS |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head2 todo |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=cut |
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
sub todo { |
|
42
|
0
|
0
|
|
0
|
1
|
|
my $self = shift or croak 'Need an instance'; |
|
43
|
|
|
|
|
|
|
... |
|
44
|
0
|
|
|
|
|
|
} #todo() |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
# TODO if using a custom import() |
|
47
|
|
|
|
|
|
|
#sub import { # {{{1 |
|
48
|
|
|
|
|
|
|
#} #import() # }}}1 |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
#1; |
|
51
|
|
|
|
|
|
|
__END__ |