| 1 |
package List::Util::XS; |
| 2 |
use strict; |
| 3 |
use warnings; |
| 4 |
use List::Util; |
| 5 |
|
| 6 |
our $VERSION = "1.63"; # FIXUP |
| 7 |
$VERSION =~ tr/_//d; # FIXUP |
| 8 |
|
| 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 |
|
| 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 |
|
| 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 <[email protected]>. 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 |