List::Util::XS(3pm) Perl Programmers Reference Guide List::Util::XS(3pm)

# [NAME](#NAME)

List::Util::XS - Indicate if List::Util was compiled with a C compiler

# [SYNOPSIS](#SYNOPSIS)

```
    use List::Util::XS 1.20;
```

# [DESCRIPTION](#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.

During installation $List::Util::XS::VERSION will be set to "undef" if the XS was not compiled.

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".

# [SEE ALSO](#SEE_ALSO)

Scalar::Util, List::Util, List::MoreUtils

# [COPYRIGHT](#COPYRIGHT)

Copyright (c) 2008 Graham Barr &lt;gbarr@pobox.com&gt;. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2026-10-21 perl v5.44.0

---

Document: List::Util::XS(3pm) from perl 5.44.0-r2 (Chainguard OS)
Source: https://github.com/Perl/perl5.git
