Data::...::Hash(3pm)

πŸ¦‹ Data::...::Hash β€” the manual page, bestie edition πŸ¦‹

okay so you're reading the User Contributed Perl Documentation for Data::...::Hash(3pm) and honestly? you came to the right place πŸ’–


✨ NAME ✨

Data::Perl::Collection::Hash β€” it's the wrapping class</> for Perl's built-in hash structure. that's literally it. that's the whole job πŸ’…


🌸 VERSION 🌸

this is version 0.002011 bestie, we're on the recent one ✨


πŸŽ€ SYNOPSIS πŸŽ€

here's the vibe, copy-paste this whole thing into your file and go off πŸ‘‘

use Data::Perl qw/hash/;

my $hash = hash(a => 1, b => 2);

$array->push(5);

$hash->values; # (1, 2)

$hash->set('foo', 'bar'); # (a => 1, b => 2, foo => 'bar')

like. look at $hash->values; returning # (1, 2) β€” she ate πŸ”₯ and $hash->set('foo', 'bar') giving you # (a => 1, b => 2, foo => 'bar')? iconic behaviour, no notes πŸ’œ

okay and fr fr, we're keeping this printed exactly as it is even though there's a $array->push(5); sitting in the middle of a hash example β€” that's not a typo on my end, that's what the page says, and I am not out here editing someone's manpage without permission 😭

🌈 DESCRIPTION 🌈

okay so real talk: this class is a simple consumer</> of the Data::Perl::Role::Collection::Hash role, and that role is where ALL the actual functionality lives ✨

so like… you reading this page? cute, but you probably want to go look over there instead 🫢 that's not me being shady, that's the page itself telling you that, and she's right πŸ’…


πŸ’œ AUTHOR πŸ’œ

Matthew Phillips <mattp@cpan.org> β€” thank you for your service king πŸ‘‘


This software is copyright (c) 2020 by Matthew Phillips <mattp@cpan.org>. πŸŽ€

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system</> itself. slay, free software slay 🌸


and that's the whole page bestie, no cap, every single line accounted for πŸ’– this came from perl v5.36.0 dated 2022-10-16 β€” mwah, go forth and hash responsibly βœ¨πŸ‘‘πŸ’…

πŸ“¦ where this page comes from