line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!perl
|
2
|
|
|
|
|
|
|
#
|
3
|
|
|
|
|
|
|
# The copyright notice and plain old documentation (POD)
|
4
|
|
|
|
|
|
|
# are at the end of this file.
|
5
|
|
|
|
|
|
|
#
|
6
|
|
|
|
|
|
|
package File::Revision;
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
require 5.001;
|
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
4677
|
use strict;
|
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
47
|
|
11
|
1
|
|
|
1
|
|
6
|
use warnings;
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
42
|
|
12
|
1
|
|
|
1
|
|
15
|
use warnings::register;
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
197
|
|
13
|
1
|
|
|
1
|
|
6
|
use File::Spec;
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
35
|
|
14
|
1
|
|
|
1
|
|
5
|
use Data::Startup;
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
39
|
|
15
|
|
|
|
|
|
|
|
16
|
1
|
|
|
1
|
|
4
|
use vars qw($VERSION $DATE);
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
85
|
|
17
|
|
|
|
|
|
|
$VERSION = '1.04';
|
18
|
|
|
|
|
|
|
$DATE = '2004/05/03';
|
19
|
|
|
|
|
|
|
|
20
|
1
|
|
|
1
|
|
5
|
use vars qw($revision_letters $revision_base);
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
58
|
|
21
|
|
|
|
|
|
|
$revision_letters = 'ABCDEFGHJKLMNPRTUVWY';
|
22
|
|
|
|
|
|
|
$revision_base = length($revision_letters);
|
23
|
|
|
|
|
|
|
|
24
|
1
|
|
|
1
|
|
5
|
use vars qw(@ISA @EXPORT_OK);
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
35
|
|
25
|
1
|
|
|
1
|
|
4
|
use Exporter;
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
61
|
|
26
|
|
|
|
|
|
|
@ISA = qw(Exporter);
|
27
|
|
|
|
|
|
|
@EXPORT_OK = qw(new_revision num2revision parse_options revision2num revision_file rotate);
|
28
|
|
|
|
|
|
|
|
29
|
1
|
|
|
1
|
|
6
|
use SelfLoader;
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
45
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1;
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
__DATA__
|