| 1 | ###################################################################### | ||
| 2 | # Copyright (c)2010-2011, David L. Armstrong. | ||
| 3 | # | ||
| 4 | # P4::OO::_Connection.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::_Connection - Abstract P4::OO interface for talking to Perforce | ||
| 14 | |||
| 15 | =head1 SYNOPSIS | ||
| 16 | |||
| 17 | =head1 DESCRIPTION | ||
| 18 | |||
| 19 | =head1 ENVIRONMENT | ||
| 20 | |||
| 21 | =head1 SEE ALSO | ||
| 22 | |||
| 23 | =cut | ||
| 24 | |||
| 25 | ###################################################################### | ||
| 26 | # Package Initialization | ||
| 27 | # | ||
| 28 | package P4::OO::_Connection; | ||
| 29 | 1 | our $VERSION = '0.00_02'; | |
| 30 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 31 | 1 | ▶ | use base ( 'P4::OO' ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 32 | |||
| 33 | |||
| 34 | ###################################################################### | ||
| 35 | # Includes | ||
| 36 | # | ||
| 37 | 1 | ▶ | use P4::OO::_Error; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 38 | |||
| 39 | ###################################################################### | ||
| 40 | # Globals | ||
| 41 | # | ||
| 42 | |||
| 43 | ###################################################################### | ||
| 44 | # Methods | ||
| 45 | # | ||
| 46 | |||
| 47 | sub query | ||
| 48 | 0 | ▶ | { |
|
Subroutine
query: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 49 | 0 | throw E_P4Fatal "Connection subclass doesn't support query() method.\n"; | |
| 50 | |||
| 51 | } | ||
| 52 | |||
| 53 | sub readSpec | ||
| 54 | 0 | ▶ | { |
|
Subroutine
readSpec: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 55 | 0 | throw E_P4Fatal "Connection subclass doesn't support readSpec() method.\n"; | |
| 56 | |||
| 57 | } | ||
| 58 | |||
| 59 | sub saveSpec | ||
| 60 | 0 | ▶ | { |
|
Subroutine
saveSpec: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 61 | 0 | throw E_P4Fatal "Connection subclass doesn't support saveSpec() method.\n"; | |
| 62 | } | ||
| 63 | |||
| 64 | ###################################################################### | ||
| 65 | # Standard authorship and copyright for documentation | ||
| 66 | # | ||
| 67 | |||
| 68 | =head1 AUTHOR | ||
| 69 | |||
| 70 | David L. Armstrong <armstd@cpan.org> | ||
| 71 | |||
| 72 | =head1 COPYRIGHT AND LICENSE | ||
| 73 | |||
| 74 | P4::OO::_Connection is Copyright (c)2010-2011, David L. Armstrong. | ||
| 75 | |||
| 76 | This module is free software; you can redistribute it and/or | ||
| 77 | modify it under the same terms as Perl itself, either Perl | ||
| 78 | version 5.8.8 or, at your option, any later version of Perl 5 | ||
| 79 | you may have available. | ||
| 80 | |||
| 81 | =head1 SUPPORT AND WARRANTY | ||
| 82 | |||
| 83 | This program is distributed in the hope that it will be | ||
| 84 | useful, but it is provided "as is" and without any expressed | ||
| 85 | or implied warranties. | ||
| 86 | |||
| 87 | =cut | ||
| 88 | |||
| 89 | 1 | 1; | |