KiokuDB/Backend/Role/UnicodeSafe.pm

filter: Statementstmt 100% 7 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 9 / 9 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« KiokuDB/Backend/Role/Clear.pm ↑ Summary KiokuDB/Backend/Serialize/Delegate.pm »
1 #!/usr/bin/perl
2  
3 package KiokuDB::Backend::Role::UnicodeSafe;
4 22 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 22 ▶use namespace::clean -except => 'meta';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 # informative
9  
10 22 __PACKAGE__
11  
12 __END__
13  
14 =pod
15  
16 =head1 NAME
17  
18 KiokuDB::Backend::Role::UnicodeSafe - An informational role for binary data safe
19 backends.
20  
21 =head1 SYNOPSIS
22  
23 package KiokuDB::Backend::MySpecialBackend;
24 use Moose;
25  
26 use namespace::clean -except => 'meta';
27  
28 with qw(KiokuDB::Backend::Role::UnicodeSafe);
29  
30 =head1 DESCRIPTION
31  
32 This backend role is an informational role for backends which can
33 store unicode perl strings safely.
34  
35 This means that B<character> strings inserted to the database will not be
36 retreived as B<byte> strings upon deserialization.
37  
38 This mostly has to do with L<KiokuDB::Backend::Serialize> variants.
39  
« KiokuDB/Backend/Role/Clear.pm ↑ Summary KiokuDB/Backend/Serialize/Delegate.pm »