| 1 | # Data::Hopen::Scope::Overrides - Scope that can override each set individually | ||
| 2 | package Data::Hopen::Scope::Overrides; | ||
| 3 | use Data::Hopen; | ||
| 4 | use strict; | ||
| 5 | use Data::Hopen::Base; | ||
| 6 | |||
| 7 | our $VERSION = '0.000018'; | ||
| 8 | |||
| 9 | # TODO if using exporter | ||
| 10 | use parent 'Exporter'; | ||
| 11 | our (@EXPORT, @EXPORT_OK, %EXPORT_TAGS); | ||
| 12 | BEGIN { | ||
| 13 | @EXPORT = qw(); | ||
| 14 | @EXPORT_OK = qw(); | ||
| 15 | %EXPORT_TAGS = ( | ||
| 16 | default => [@EXPORT], | ||
| 17 | all => [@EXPORT, @EXPORT_OK] | ||
| 18 | ); | ||
| 19 | } | ||
| 20 | |||
| 21 | # TODO if a class | ||
| 22 | use parent 'TODO'; | ||
| 23 | use Class::Tiny qw(TODO); | ||
| 24 | |||
| 25 | # Docs {{{1 | ||
| 26 | |||
| 27 | =head1 NAME | ||
| 28 | |||
| 29 | Data::Hopen::Scope::Overrides - Scope that can override each set individually | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | TODO Implement me. (The alternative, until then, is to use a regular | ||
| 34 | L<Data::Hopen::Scope::Hash> as an override. However, that only holds | ||
| 35 | one set, and so does not have any way to say "override 'foo' in set 'bar'". | ||
| 36 | This package will, once implemented, have that capability. | ||
| 37 | |||
| 38 | =cut | ||
| 39 | |||
| 40 | # }}}1 | ||
| 41 | |||
| 42 | =head1 FUNCTIONS | ||
| 43 | |||
| 44 | =head2 todo | ||
| 45 | |||
| 46 | =cut | ||
| 47 | |||
| 48 | sub todo { | ||
| 49 | my $self = shift or croak 'Need an instance'; | ||
| 50 | ... | ||
| 51 | } #todo() | ||
| 52 | |||
| 53 | # TODO if using a custom import() | ||
| 54 | #sub import { # {{{1 | ||
| 55 | #} #import() # }}}1 | ||
| 56 | |||
| 57 | #1; | ||
| 58 | __END__ |