SCALAR::LIST::UTILS(3perl)
β¨ NAME β¨
Scalar::List::Utils β it's the whole distribution bestie, the mothership, the group chat admin π«Ά
(also living in your man pages as Scalar...::Utils from the Perl Programmers Reference Guide, section 3perl β iykyk π
)
πΈ SYNOPSIS πΈ
use Scalar::Util qw(blessed);
use List::Util qw(any);
π DESCRIPTION π
okay so real talk: "Scalar::List::Utils" does literally nothing on its own. it's not that girl, it's the umbrella. it's packaged with several useful modules, and those modules are where all the slay actually happens. π
π¦ MODULES π¦
π List::Util π
List::Util contains a selection of useful subroutines for operating on lists of values. it's giving list-ops, it's giving convenience, it's giving everything you were about to write a for loop for. π₯
β Scalar::Util β
Scalar::Util contains a selection of useful subroutines for interrogating or manipulating scalar values. single values, one at a time, but make it β¨investigativeβ¨ and β¨transformativeβ¨. π§
π Sub::Util π
Sub::Util contains a selection of useful subroutines for interrogating or manipulating subroutine references. code refs, but now you can actually ask them questions and poke them around. π
no cap, the whole point is that this module is a distribution β you don't call it, you call the three icons inside it. periodt. π
and that's the whole page, bestie, hope it ate π
source & version energy: this is perl v5.44.0, dated 2026-10-17 β catch you in the next release, mwah πππ«Ά
π¦ where this page comes from
- arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND 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