line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
###################################################################### |
2
|
|
|
|
|
|
|
# Copyright (c)2010-2011, David L. Armstrong. |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# P4::OO::File.pm |
5
|
|
|
|
|
|
|
# |
6
|
|
|
|
|
|
|
# See COPYRIGHT AND LICENSE section in pod text below for usage |
7
|
|
|
|
|
|
|
# and distribution rights. |
8
|
|
|
|
|
|
|
# |
9
|
|
|
|
|
|
|
###################################################################### |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 NAME |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
P4::OO::File |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 SYNOPSIS |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
Represent a versioned Perforce file. |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 DESCRIPTION |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
P4::OO::File tracks special attributes of files versioned by Perforce, |
22
|
|
|
|
|
|
|
such as version. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=cut |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
###################################################################### |
28
|
|
|
|
|
|
|
# Package Initialization |
29
|
|
|
|
|
|
|
# |
30
|
|
|
|
|
|
|
package P4::OO::File; |
31
|
|
|
|
|
|
|
our $VERSION = '0.00_02'; |
32
|
2
|
|
|
2
|
|
31076
|
use base 'P4::OO'; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
570
|
|
33
|
2
|
|
|
2
|
|
16
|
use strict; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
81
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
###################################################################### |
37
|
|
|
|
|
|
|
# Globals |
38
|
|
|
|
|
|
|
# |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
###################################################################### |
42
|
|
|
|
|
|
|
# Methods |
43
|
|
|
|
|
|
|
# |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
###################################################################### |
47
|
|
|
|
|
|
|
# Standard authorship and copyright for documentation |
48
|
|
|
|
|
|
|
# |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 AUTHOR |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
David L. Armstrong |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
P4::OO::File is Copyright (c)2010-2011, David L. Armstrong. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
This module is free software; you can redistribute it and/or |
59
|
|
|
|
|
|
|
modify it under the same terms as Perl itself, either Perl |
60
|
|
|
|
|
|
|
version 5.8.8 or, at your option, any later version of Perl 5 |
61
|
|
|
|
|
|
|
you may have available. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head1 SUPPORT AND WARRANTY |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
This program is distributed in the hope that it will be |
66
|
|
|
|
|
|
|
useful, but it is provided "as is" and without any expressed |
67
|
|
|
|
|
|
|
or implied warranties. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=cut |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
1; |