---
name: "List::Util::XS"
section: "3p"
platform: "openbsd"
package: "man"
version: "8.0-current-20261101"
release: "OpenBSD 8.0-current (2026-11-01)"
platforms: ["openbsd"]
url: "https://new.carta.tech/List::Util::XS"
---

# List::Util::XS(3p)

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

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

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

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

## COPYRIGHT

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.
