User::I...:Emails(3)
β¨ NAME β¨
User::Identity::Collection::Emails β a whole collection of email roles, bestie π
(also hi, this manual page is User::I...:Emails(3), from the User Contributed Perl Documentation, in case you were wondering who's talking π«Ά)
πΈ INHERITANCE πΈ
the family tree is giving legacy code realness, look:
User::Identity::Collection::Emails
is a User::Identity::Collection
is a User::Identity::Item
π SYNOPSIS π
okay soβ¦ there is genuinely nothing here. the SYNOPSIS section is empty. no code, no example, nothing. it's giving "we ran out of time" π the docs just get straight to business below.
π¦ DESCRIPTION π¦
The User::Identity::Collection::Emails object maintains a set Mail::Identity objects, each describing a role which the user has in e-mail traffic. β¨
Extends "DESCRIPTION" in User::Identity::Collection.
π OVERLOADED π
Extends "OVERLOADED" in User::Identity::Collection.
- overload:
""stringification β inherited, see"OVERLOADED"in User::Identity::Collection - overload:
@{}array dereference β inherited, see"OVERLOADED"in User::Identity::Collection
π METHODS π
Extends "METHODS" in User::Identity::Collection.
π§ Constructors
Extends "Constructors" in User::Identity::Collection.
$class->new( [$name], %options )
here's the options table, exactly as the elders wrote it (yes, including the header line, no we do not skip it π):
-Option --Defined in --Default
description User::Identity::Item undef
item_type User::Identity::Collection Mail::Identity
name User::Identity::Item 'emails'
parent User::Identity::Item undef
roles User::Identity::Collection undef
and here's each one in chat form, same facts, more sparkle:
description=> STRING β defined inUser::Identity::Item, defaultundefitem_type=> CLASS β defined inUser::Identity::Collection, defaultMail::Identityname=> STRING β defined inUser::Identity::Item, default'emails'parent=> OBJECT β defined inUser::Identity::Item, defaultundefroles=> $role|@roles β defined inUser::Identity::Collection, defaultundef
β 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 error messages, and what they're actually trying to tell 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() - 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()
ngl that fifth one really does saynvalid, notinvalid. it's in the original, so it stays. iykyk π«
π 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 π you made it to the end, main character energy fr fr β this was perl v5.42.0, dated 2026-01-17, and the manual name is User::I...:Emails(3). go forth and collect those email roles πβ¨
π¦ 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