line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package perl5i::latest; |
2
|
|
|
|
|
|
|
|
3
|
98
|
|
|
98
|
|
199225
|
use strict; |
|
98
|
|
|
|
|
154
|
|
|
98
|
|
|
|
|
3514
|
|
4
|
98
|
|
|
98
|
|
32291
|
use perl5i::VERSION; our $VERSION = perl5i::VERSION->VERSION; |
|
98
|
|
|
|
|
189
|
|
|
98
|
|
|
|
|
4946
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
my $Latest; |
7
|
98
|
|
|
98
|
|
516
|
BEGIN { $Latest = perl5i::VERSION->latest; } |
8
|
|
|
|
|
|
|
|
9
|
98
|
|
|
98
|
|
46983
|
use parent ($Latest); |
|
98
|
|
|
|
|
25298
|
|
|
98
|
|
|
|
|
441
|
|
10
|
105
|
|
|
105
|
|
112281
|
sub import { goto &{$Latest .'::import'} } |
|
105
|
|
|
|
|
594
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
1; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
__END__ |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=encoding utf8 |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 NAME |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
perl5i::latest - Use the latest version of perl5i |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 SYNOPSIS |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
use perl5i::latest; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 DESCRIPTION |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Because perl5i is designed to break compatibility, you must declare |
29
|
|
|
|
|
|
|
which major version you're writing your code with to preserve |
30
|
|
|
|
|
|
|
compatibility. If you want to be more daring, you can C<use |
31
|
|
|
|
|
|
|
perl5i::latest> and it will load the newest major version of perl5i |
32
|
|
|
|
|
|
|
you have installed. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
perl5i B<WILL BREAK COMPATIBILITY>, believe it. This is mostly useful |
35
|
|
|
|
|
|
|
for one-off scripts and one-liners and digital thrill seekers. |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |