line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
#=============================================================================== |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# FILE: Dummy.pm |
5
|
|
|
|
|
|
|
# |
6
|
|
|
|
|
|
|
# DESCRIPTION: Dummy backend |
7
|
|
|
|
|
|
|
# |
8
|
|
|
|
|
|
|
# FILES: --- |
9
|
|
|
|
|
|
|
# BUGS: --- |
10
|
|
|
|
|
|
|
# NOTES: --- |
11
|
|
|
|
|
|
|
# AUTHOR: Erik Hollensbe (), |
12
|
|
|
|
|
|
|
# COMPANY: |
13
|
|
|
|
|
|
|
# VERSION: 1.0 |
14
|
|
|
|
|
|
|
# CREATED: 06/02/2008 05:54:21 AM PDT |
15
|
|
|
|
|
|
|
# REVISION: --- |
16
|
|
|
|
|
|
|
#=============================================================================== |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
package App::Open::Backend::Dummy; |
19
|
|
|
|
|
|
|
|
20
|
2
|
|
|
2
|
|
2895
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
83
|
|
21
|
2
|
|
|
2
|
|
11
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
212
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 NAME |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
App::Open::Backend::Dummy: A dummy backend for testing. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 SYNOPSIS |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Please read App::Open::Backend for information on how to use backends. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 METHODS |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
Read App::Open::Backend for what the interface provides, method descriptions |
34
|
|
|
|
|
|
|
here will only cover implementation. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=over 4 |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=item new |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Boilerplate constructor. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=cut |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
sub new { |
45
|
21
|
|
|
21
|
1
|
842
|
bless {}, shift; |
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=item lookup_file |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Returns 'dummy_file' |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=cut |
53
|
|
|
|
|
|
|
|
54
|
1
|
|
|
1
|
1
|
4
|
sub lookup_file { 'dummy_file' } |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=item lookup_url |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Returns 'dummy_url' |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=cut |
61
|
|
|
|
|
|
|
|
62
|
1
|
|
|
1
|
1
|
4
|
sub lookup_url { 'dummy_url' } |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=back |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head1 LICENSE |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
This file and all portions of the original package are (C) 2008 Erik Hollensbe. |
69
|
|
|
|
|
|
|
Please see the file COPYING in the package for more information. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head1 BUGS AND PATCHES |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
Probably a lot of them. Report them to if you're feeling |
74
|
|
|
|
|
|
|
kind. Report them to CPAN RT if you'd prefer they never get seen. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=cut |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
1; |