User/Identity/Archive.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran 0.0% 0 / 2 Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 34 CC 2 SCAR 11.5
CC
2
Cov
0%
init
6.0
type
2.0
BEGIN
2.0
CRAP 3.1
1 # This code is part of Perl distribution User-Identity version 4.00.
2 # The POD got stripped from this file by OODoc version 3.05.
3 # For contributors see file ChangeLog.
4  
5 # This software is copyright (c) 2003-2025 by Mark Overmeer.
6  
7 # This is free software; you can redistribute it and/or modify it under
8 # the same terms as the Perl 5 programming language system itself.
9 # SPDX-License-Identifier: Artistic-1.0-Perl OR GPL-1.0-or-later
10  
11  
12 package User::Identity::Archive;{
13 our $VERSION = '4.00';
14 }
15  
16 use parent 'User::Identity::Item';
17  
18 use strict;
19 use warnings;
20  
21 use Log::Report 'user-identity';
22  
23 #--------------------
24  
25 sub type { "archive" }
26  
27  
28 sub init($)
29 { my ($self, $args) = @_;
30 $self->SUPER::init($args);
31  
32 if(my $from = delete $args->{from})
33 { $self->from($from) or return;
34 }
35  
36 $self;
37 }
38  
39 #--------------------
40  
41 1;