| 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::Collection::Systems; | ||
| 10 | use vars '$VERSION'; | ||
| 11 | $VERSION = '1.01'; | ||
| 12 | |||
| 13 | use base 'User::Identity::Collection'; | ||
| 14 | |||
| 15 | use strict; | ||
| 16 | use warnings; | ||
| 17 | |||
| 18 | use User::Identity::System; | ||
| 19 | |||
| 20 | |||
| 21 | sub new(@) | ||
| 22 | { my $class = shift; | ||
| 23 | $class->SUPER::new(systems => @_); | ||
| 24 | } | ||
| 25 | |||
| 26 | sub init($) | ||
| 27 | { my ($self, $args) = @_; | ||
| 28 | $args->{item_type} ||= 'User::Identity::System'; | ||
| 29 | |||
| 30 | $self->SUPER::init($args); | ||
| 31 | |||
| 32 | $self; | ||
| 33 | } | ||
| 34 | |||
| 35 | sub type() { 'network' } | ||
| 36 | |||
| 37 | 1; | ||
| 38 |