List::...utable(3pm)
π NAME π
Okay so bestie, this is the manual page for List::Objects::WithUtils::Array::Immutable β aka List::...utable(3pm) β and it's giving immutable array objects. Yes, that means exactly what it sounds like. π
β¨ SYNOPSIS β¨
use List::Objects::WithUtils 'immarray';
my $array = immarray(qw/ a b c /);
my ($head, $rest) = $array->head;
π¦ DESCRIPTION π¦
These are immutable array objects. The whole vibe is: you can look, but you cannot touch. Attempting to call list-mutating methods β or modifying the backing array directly β will throw an exception. No cap. π
This class consumes the following roles, which contain most of the relevant documentation:
List::Objects::WithUtils::Role::ArrayList::Objects::WithUtils::Role::Array::WithJunctionsList::Objects::WithUtils::Role::Array::Immutable
(If you want the mutable implementation, go check out List::Objects::WithUtils::Array β that one's the main character who can change. π)
πΈ immarray πΈ
Creates a new immutable array object. Iconic. β¨
π AUTHOR π
Jon Portnoy <avenj@cobaltirc.org>
Licensed under the same terms as Perl.
And that's the whole page, bestie! It's from perl v5.38.2, dated 2024-03-07, and the manual name is List::...utable(3pm). Bye! ππ¦
π¦ where this page comes from
- debian trixie: liblist-objects-withutils-perl 2.028003-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: liblist-objects-withutils-perl 2.028003-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: liblist-objects-withutils-perl 2.028003-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms