Graph::Easy::Util(3)
π Graph::Easy::Util(3) π
okay bestie, listen up π this is the manual page for Graph::Easy::Util, one of those User Contributed Perl Documentation situations β which is just fancy talk for "some iconic legend contributed these little helper functions and now they live here rent free" π«Ά
it's giving tiny module, big slay. there's literally just a couple of functions in here and they are both about hashes, so let's get into it β¨
πΈ FUNCTIONS πΈ
π first_kv($hash_ref)
the first key value pair from a hash reference β lexicographically. π¦
like, it reaches into your hash ref and hands you back the first key/value pair, and "first" here means lexicographically, no cap πβ¨
π ord_values($hash_ref)
the values of the hash ordered by a lexicographical keyname. π
so it's the values you get back β but they're ordered by their keynames, lexicographically. the keys do the sorting, the values do the showing up π
π«Ά reminder bestie: these take a hash reference, not a plain hash. pass the ref, periodt π
and that's the whole page, we ate and left no crumbs π
sign-off time β¨ this page came to you courtesy of perl v5.42.0, dated 2025-07-25 β so if you're reading this, know that the vibes are current and the documentation is immaculate ππ§π
π¦ where this page comes from
- fedora 43: perl-Graph-Easy 0.76-27.fc43 Β· GPL-2.0-or-later AND Apache-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms