List::Util::XS(3pm)

Okay bestie, welcome to the List::Util::XS(3pm) page from the Perl Programmers Reference Guide! πŸ’– This one is short and sweet, and it’s literally here to tell you whether List::Util was built with a C compiler. Let’s get into it. ✨

✨ NAME ✨

  • List::Util::XS β€” indicate if List::Util was compiled with a C compiler. πŸ‘‘

🌸 SYNOPSIS 🌸

use List::Util::XS 1.20;

πŸ’– DESCRIPTION πŸ’–

List::Util::XS can be used as a dependency to ensure List::Util was installed using a C compiler and that the XS version is installed. Slay. 🫢

During installation, $List::Util::XS::VERSION will be set to undef if the XS was not compiled. That’s the vibe check. 😭

Starting with release 1.23_03, Scalar-List-Util is always using the XS implementation, but for backwards compatibility, we still ship the List::Util::XS module which just loads List::Util. Iconic behavior, honestly. πŸ’…

No cap: the module is still shipped for backwards compatibility, and it just loads List::Util. That’s straight from the page. 🫑

πŸ¦‹ 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! πŸ’œ Source/version check: perl v5.42.3, dated 2026-11-03, and yes β€” it’s the List::Util::XS(3pm) page. πŸŽ€

πŸ“¦ where this page comes from