line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
9
|
|
|
9
|
|
58
|
use strict; use warnings; |
|
9
|
|
|
9
|
|
20
|
|
|
9
|
|
|
|
|
294
|
|
|
9
|
|
|
|
|
51
|
|
|
9
|
|
|
|
|
21
|
|
|
9
|
|
|
|
|
272
|
|
2
|
9
|
|
|
9
|
|
2677
|
use version; |
|
9
|
|
|
|
|
16412
|
|
|
9
|
|
|
|
|
65
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
=head1 NAME |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
Term::ReadLine::Perl5::Tie |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 DESCRIPTION |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
Used by L to bind |
11
|
|
|
|
|
|
|
I<%Term::ReadLine::Perl5::attribs> to their corresponding |
12
|
|
|
|
|
|
|
I<%Term::ReadLine::readline> value in reading and setting those |
13
|
|
|
|
|
|
|
attributes. |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 SEE ALSO |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
L |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=cut |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
package Term::ReadLine::Perl5::Tie; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
# version might not be below other places in this routine |
24
|
|
|
|
|
|
|
# no critic |
25
|
|
|
|
|
|
|
our $VERSION = '1.45'; |
26
|
|
|
|
|
|
|
|
27
|
9
|
|
|
9
|
|
92
|
sub TIEHASH { bless {} } |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
sub STORE { |
30
|
7
|
|
|
7
|
|
31
|
my ($self, $name) = (shift, shift); |
31
|
9
|
|
|
9
|
|
1361
|
no strict; |
|
9
|
|
|
|
|
27
|
|
|
9
|
|
|
|
|
308
|
|
32
|
9
|
|
|
9
|
|
58
|
no warnings 'once'; |
|
9
|
|
|
|
|
25
|
|
|
9
|
|
|
|
|
887
|
|
33
|
7
|
|
|
|
|
17
|
$ {'Term::ReadLine::Perl5::readline::rl_' . $name} = shift; |
|
7
|
|
|
|
|
75
|
|
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
sub FETCH { |
37
|
4
|
|
|
4
|
|
78
|
my ($self, $name) = (shift, shift); |
38
|
9
|
|
|
9
|
|
70
|
no strict; |
|
9
|
|
|
|
|
26
|
|
|
9
|
|
|
|
|
578
|
|
39
|
4
|
|
|
|
|
8
|
$ {'Term::ReadLine::Perl5::readline::rl_' . $name}; |
|
4
|
|
|
|
|
32
|
|
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
1; |