User::I...:Systems(3)
π User::I...:Systems(3) β bestie edition
okay so this is User::I...:Systems(3), from the User Contributed Perl Documentation, and no cap it's lowkey the most useful little page for anyone juggling a user's logins across a bunch of machines. grab a strawberry π and let's go.
β¨ NAME β¨
User::Identity::Collection::Systems β a whole collection of system descriptions. that's it, that's the vibe. π
𧬠INHERITANCE π§¬
User::Identity::Collection::Systems
is a User::Identity::Collection
is a User::Identity::Item
so it's giving three generations of iconic lineage. it inherits down the whole chain, which is exactly why so much of this page says "inherited, see over there." π
πΈ SYNOPSIS πΈ
there is literally nothing here in the source, bestie. an empty synopsis. iconic of it honestly. the real tea is all in DESCRIPTION and METHODS, keep scrolling. π
π DESCRIPTION π
This User::Identity::Collection::Systems object maintains a set of User::Identity::System objects, each one describing a login for the user on some system. so like β one human, many boxes, many logins, all neatly filed. main character organization energy. β¨
Extends "DESCRIPTION" in User::Identity::Collection. (read: the parent class wrote some of this and we're not re-explaining it, go look.) π«Ά
π OVERLOADED π
Extends "OVERLOADED" in User::Identity::Collection.
- overload:
""stringification β inherited, see "OVERLOADED" in User::Identity::Collection. so you can drop it in a string and it just works. πͺ - overload:
@{}array dereference β inherited, see "OVERLOADED" in User::Identity::Collection. yes you can treat it like an array, slay.
π οΈ METHODS π οΈ
Extends "METHODS" in User::Identity::Collection.
π Constructors π
Extends "Constructors" in User::Identity::Collection.
$class->new( [$name], %options )
here's the full options tea, copied character for character because we do NOT skip details in this house:
-Option --Defined in --Default
description User::Identity::Item undef
item_type User::Identity::Collection User::Identity::System
name User::Identity::Item 'systems'
parent User::Identity::Item undef
roles User::Identity::Collection undef
and now in cute bullet form:
description => STRINGβ the description. defined inUser::Identity::Item, defaults toundef.item_type => CLASSβ the item type. defined inUser::Identity::Collection, defaults toUser::Identity::System.name => STRINGβ the name. defined inUser::Identity::Item, defaults to'systems'.parent => OBJECTβ the parent. defined inUser::Identity::Item, defaults toundef.roles => $role|\@rolesβ the roles. defined inUser::Identity::Collection, defaults toundef.
π¦ Attributes π¦
Extends "Attributes" in User::Identity::Collection.
$obj->description()β inherited, see "Attributes" in User::Identity::Item.$obj->itemType()β inherited, see "Attributes" in User::Identity::Collection.$obj->name( [$newname] )β inherited, see "Attributes" in User::Identity::Item.$obj->roles()β inherited, see "Attributes" in User::Identity::Collection.
π Collections π
Extends "Collections" in User::Identity::Collection.
$obj->add($collection, $role)β inherited, see "Collections" in User::Identity::Item.$obj->addCollection( $object | <[$type], %options> )β inherited, see "Collections" in User::Identity::Item.$obj->collection($name)β inherited, see "Collections" in User::Identity::Item.$obj->parent( [$parent] )β inherited, see "Collections" in User::Identity::Item.$obj->removeCollection($object|$name)β inherited, see "Collections" in User::Identity::Item.$any->type()β inherited, see "Collections" in User::Identity::Item.$obj->user()β inherited, see "Collections" in User::Identity::Item.
π Maintaining roles π
Extends "Maintaining roles" in User::Identity::Collection.
$obj->addRole($role|([$name], %options))β inherited, see "Maintaining roles" in User::Identity::Collection.$obj->removeRole($role|$name)β inherited, see "Maintaining roles" in User::Identity::Collection.$obj->renameRole( <$role|$oldname>, $newname )β inherited, see "Maintaining roles" in User::Identity::Collection.$obj->sorted()β inherited, see "Maintaining roles" in User::Identity::Collection.
π Searching π
Extends "Searching" in User::Identity::Collection.
$obj->find($name|CODE|undef)β inherited, see "Searching" in User::Identity::Collection.
π DIAGNOSTICS π
the part where things go sideways. read these, they'll save you:
- Error: cannot create a $type to add this to my collection. Some options are specified to create a
$typeobject, which is native to this collection. However, for some reason this failed. Cast byaddRole(). π - Error: cannot load collection module for $type ($class): $@ Either the specified
$typedoes not exist, or that module named$classreturns compilation errors. If the type as specified in the warning is not the name of a package, you specified a nickname which was not defined. Maybe you forgot the'require'the package which defines the nickname. Cast byaddCollection(). π« - Error: cannot rename $from into $to: already exists. Cast by
renameRole(). - Error: cannot rename $from into $to: doesn't exist. Cast by
renameRole(). - Error: nvalid collection $name. The collection with
$namedoes not exist and can not be created. Cast byadd(). (yes, it really is spellednvalidin the source β not me, I promise π) - Error: this $object is not a collection. Cast by
addCollection(). - Error: wrong type of role for $collection: requires a $expect but got a $type. Each
$collectiongroups sets of roles of one specific type ($expect). You cannot add objects of a different$type. Cast byaddRole(). no mixing, periodt.
π SEE ALSO π
This module is part of User-Identity version 4.00, built on December 12, 2025. Website: http://perl.overmeer.net/CPAN/ π
π LICENSE π
For contributors see file ChangeLog.
This software is copyright (c) 2003-2025 by Mark Overmeer.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. π«Ά
and that's the whole page, bestie. this one shipped as perl v5.42.0, dated 2026-01-17, and it lives in the manual as User::I...:Systems(3). go forth and manage those systems. you ate. πβ¨ππ¦πΈ
π¦ where this page comes from
- fedora 44: perl-User-Identity 4.00-2.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms