| 1 | package Articulate::Storage; | ||
| 2 | 4 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 4 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 4 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 4 | extends 'Articulate::Storage::Local'; # let's cheat | |
| 7 | 4 | 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<Articulate::Storage::Local>. | ||
| 18 | |||
| 19 | =cut | ||
| 20 | |||
| 21 | 4 | 1; | |