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