line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
###################################################################### |
2
|
|
|
|
|
|
|
# Copyright (c)2010-2011, David L. Armstrong. |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# P4::OO::Depot.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
|
|
|
|
|
|
|
=head1 SYNOPSIS |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 DESCRIPTION |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=cut |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
###################################################################### |
21
|
|
|
|
|
|
|
# Package Initialization |
22
|
|
|
|
|
|
|
# |
23
|
|
|
|
|
|
|
package P4::OO::Depot; |
24
|
|
|
|
|
|
|
our $VERSION = '0.00_02'; |
25
|
1
|
|
|
1
|
|
24842
|
use base 'P4::OO::_SpecObj'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
460
|
|
26
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
48
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
###################################################################### |
30
|
|
|
|
|
|
|
# Globals |
31
|
|
|
|
|
|
|
# |
32
|
|
|
|
|
|
|
# Subclasses must define SPECOBJ_TYPE |
33
|
0
|
|
|
0
|
0
|
|
sub SPECOBJ_TYPE { return( 'depot' ); } |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
###################################################################### |
37
|
|
|
|
|
|
|
# Methods |
38
|
|
|
|
|
|
|
# |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
###################################################################### |
42
|
|
|
|
|
|
|
# Standard authorship and copyright for documentation |
43
|
|
|
|
|
|
|
# |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 AUTHOR |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
David L. Armstrong |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
P4::OO::Depot is Copyright (c)2010-2011, David L. Armstrong. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
This module is free software; you can redistribute it and/or |
54
|
|
|
|
|
|
|
modify it under the same terms as Perl itself, either Perl |
55
|
|
|
|
|
|
|
version 5.8.8 or, at your option, any later version of Perl 5 |
56
|
|
|
|
|
|
|
you may have available. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 SUPPORT AND WARRANTY |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
This program is distributed in the hope that it will be |
61
|
|
|
|
|
|
|
useful, but it is provided "as is" and without any expressed |
62
|
|
|
|
|
|
|
or implied warranties. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=cut |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
1; |