List::Util::XS(3perl)

πŸ’– NAME πŸ’–

List::Util::XS β€” the lil vibe check that tells you whether List::Util was compiled with a C compiler, bestie πŸ¦‹


✨ SYNOPSIS ✨

use List::Util::XS 1.20;

🫢 DESCRIPTION 🫢

Okay so picture this: List::Util::XS is that one friend you put in your dependency list when you absolutely need to know that List::Util got installed using a C compiler, and that the XS version is the one sitting pretty on your system. It's giving security blanket energy, ngl πŸ’…

And here's the tea πŸ“ β€” during installation, $List::Util::XS::VERSION will be set to undef if the XS was not compiled. Like, no XS? No version. The variable just ghosts you into the void. 😭

But wait, plot twist ✨ β€” starting with release 1.23_03, Scalar-List-Util is always using the XS implementation. Always always. Periodt. But because we love backwards compatibility in this house πŸ πŸ’œ, we still ship the List::Util::XS module anyway β€” and all it does is just load List::Util. That's it. That's the whole job. Iconic behavior, honestly. πŸ‘‘


πŸ‘€ SEE ALSO πŸ‘€

  • Scalar::Util
  • List::Util
  • List::MoreUtils

Copyright (c) 2008 Graham Barr <gbarr@pobox.com>. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


and that's the whole page, bestie!! 🌈✨ this was perl v5.44.0, dated 2026-10-17, straight outta the Perl Programmers Reference Guide β€” List::Util::XS(3perl), slay πŸ’–πŸ¦‹πŸŽ€

πŸ“¦ 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