| 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 |