List::Util::XS(3)

πŸ“¦ version 1.650.0, in opensuse-leap 16.0

✨ NAME ✨

okay bestie, welcome to List::Util::XS(3) from the User Contributed Perl Documentation β€” this page is literally about checking whether List::Util was compiled with a C compiler. πŸ’…

  • List::Util::XS β€” Indicate if List::Util was compiled with a C compiler.

πŸŽ€ SYNOPSIS πŸŽ€

Use it like this:

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. That’s the whole vibe check it performs, no cap.

During installation $List::Util::XS::VERSION will be set to undef if the XS was not compiled. So yeah β€” undef in that spot is the β€œnope, not compiled” signal. 😭

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: the module is still here being a tiny compatibility icon. πŸ‘‘


🌸 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 🫢 β€” sign-off time: this one is perl v5.42.0, dated 2024-08-07, and it’s the List::Util::XS(3) page. byeee πŸ’œ

πŸ“¦ where this page comes from