Commit | Line | Data |
---|---|---|
2ff28616 GB |
1 | package List::Util::XS; |
2 | use strict; | |
e8164ee7 | 3 | use warnings; |
2ff28616 GB |
4 | use List::Util; |
5 | ||
e8164ee7 | 6 | our $VERSION = "1.45"; # FIXUP |
2ff28616 GB |
7 | $VERSION = eval $VERSION; # FIXUP |
8 | ||
2ff28616 GB |
9 | 1; |
10 | __END__ | |
11 | ||
12 | =head1 NAME | |
13 | ||
14 | List::Util::XS - Indicate if List::Util was compiled with a C compiler | |
15 | ||
16 | =head1 SYNOPSIS | |
17 | ||
18 | use List::Util::XS 1.20; | |
19 | ||
20 | =head1 DESCRIPTION | |
21 | ||
22 | C<List::Util::XS> can be used as a dependency to ensure List::Util was | |
23 | installed using a C compiler and that the XS version is installed. | |
24 | ||
25 | During installation C<$List::Util::XS::VERSION> will be set to | |
26 | C<undef> if the XS was not compiled. | |
27 | ||
3630f57e CBW |
28 | Starting with release 1.23_03, Scalar-List-Util is B<always> using |
29 | the XS implementation, but for backwards compatibility, we still | |
30 | ship the C<List::Util::XS> module which just loads C<List::Util>. | |
31 | ||
2ff28616 GB |
32 | =head1 SEE ALSO |
33 | ||
34 | L<Scalar::Util>, L<List::Util>, L<List::MoreUtils> | |
35 | ||
36 | =head1 COPYRIGHT | |
37 | ||
38 | Copyright (c) 2008 Graham Barr <gbarr@pobox.com>. All rights reserved. | |
39 | This program is free software; you can redistribute it and/or | |
40 | modify it under the same terms as Perl itself. | |
41 | ||
42 | =cut |