User/Identity/Archive.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran 0.0% 0 / 2 Conditioncond 0.0% 0 / 4 MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 34 SCAR 17.9
CC
2
Cov
0%
init
6.0
type
2.0
BEGIN
2.0
CRAP 6.0
1 # Copyrights 2003-2022 by [Mark Overmeer <markov@cpan.org>].
2 # For other contributors see ChangeLog.
3 # See the manual pages for details on the licensing terms.
4 # Pod stripped from pm file by OODoc 2.03.
5 # This code is part of distribution User-Identity. Meta-POD processed with
6 # OODoc into POD and HTML manual-pages. See README.md
7 # Copyright Mark Overmeer. Licensed under the same terms as Perl itself.
8  
9 package User::Identity::Archive;
10 use vars '$VERSION';
11 $VERSION = '1.01';
12  
13 use base 'User::Identity::Item';
14  
15 use strict;
16 use warnings;
17  
18  
19 sub type { "archive" }
20  
21  
22 sub init($)
23 { my ($self, $args) = @_;
24 $self->SUPER::init($args) or return;
25  
26 if(my $from = delete $args->{from})
27 { $self->from($from) or return;
28 }
29  
30 $self;
31 }
32  
33 #-----------------------------------------
34  
35  
36 1;
37