| 1 | # | ||
| 2 | #=============================================================================== | ||
| 3 | # | ||
| 4 | # FILE: Dummy.pm | ||
| 5 | # | ||
| 6 | # DESCRIPTION: Dummy backend | ||
| 7 | # | ||
| 8 | # FILES: --- | ||
| 9 | # BUGS: --- | ||
| 10 | # NOTES: --- | ||
| 11 | # AUTHOR: Erik Hollensbe (), <erik@hollensbe.org> | ||
| 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 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 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 | 21 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||
| 45 | 21 | bless {}, shift; | |
| 46 | } | ||
| 47 | |||
| 48 | =item lookup_file | ||
| 49 | |||
| 50 | Returns 'dummy_file' | ||
| 51 | |||
| 52 | =cut | ||
| 53 | |||
| 54 | 1 | ▶ | sub lookup_file { 'dummy_file' } |
|
Subroutine
lookup_file: called CC=1 SCAR=0.0
Pod
documented
| |||
| 55 | |||
| 56 | =item lookup_url | ||
| 57 | |||
| 58 | Returns 'dummy_url' | ||
| 59 | |||
| 60 | =cut | ||
| 61 | |||
| 62 | 1 | ▶ | sub lookup_url { 'dummy_url' } |
|
Subroutine
lookup_url: called CC=1 SCAR=0.0
Pod
documented
| |||
| 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 <erik@hollensbe.org> if you're feeling | ||
| 74 | kind. Report them to CPAN RT if you'd prefer they never get seen. | ||
| 75 | |||
| 76 | =cut | ||
| 77 | |||
| 78 | 3 | 1; | |