blib/lib/Catmandu/Droppable.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Catmandu/Fix/assoc.pm ↑ Summary blib/lib/Catmandu/Expander.pm »
1 package Catmandu::Droppable;
2  
3 13 ▶use Catmandu::Sane;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 13 our $VERSION = '1.0201_02';
6  
7 13 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 13 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 13 requires 'drop';
11  
12 13 1;
13  
14 __END__
15  
16 =pod
17  
18 =head1 NAME
19  
20 Catmandu::Droppable - Optional role for droppable stores or bags
21  
22 =head1 SYNOPSIS
23  
24 # delete a store
25 $store->drop;
26 # delete a single bag
27 $store->bag('sessions')->drop;
28  
29 =head1 METHODS
30  
31 =head2 drop
32  
33 Drop the store or bag.
34  
35 =cut
36  
« blib/lib/Catmandu/Fix/assoc.pm ↑ Summary blib/lib/Catmandu/Expander.pm »