line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Articulate::Storage; |
2
|
4
|
|
|
4
|
|
2960
|
use strict; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
163
|
|
3
|
4
|
|
|
4
|
|
24
|
use warnings; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
152
|
|
4
|
|
|
|
|
|
|
|
5
|
4
|
|
|
4
|
|
23
|
use Moo; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
26
|
|
6
|
|
|
|
|
|
|
extends 'Articulate::Storage::Local'; # let's cheat |
7
|
|
|
|
|
|
|
with 'Articulate::Role::Component'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 NAME |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
Articulate::Storage - store and retrieve your content |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 DESCRIPTION |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
This provides a single function, storage, which returns the storage object to which responsibility has been delegated for persistant storage and retrieval of content. |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
By default, this will return an instance of C. |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=cut |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
1; |