This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix Scalar-List-Utils build on Windows; patch sent upstream
[perl5.git] / cpan / Scalar-List-Utils / lib / List / Util / XS.pm
CommitLineData
2ff28616
GB
1package List::Util::XS;
2use strict;
2ff28616
GB
3use List::Util;
4
869a9612 5our $VERSION = "1.42_01"; # FIXUP
2ff28616
GB
6$VERSION = eval $VERSION; # FIXUP
7
2ff28616
GB
81;
9__END__
10
11=head1 NAME
12
13List::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
21C<List::Util::XS> can be used as a dependency to ensure List::Util was
22installed using a C compiler and that the XS version is installed.
23
24During installation C<$List::Util::XS::VERSION> will be set to
25C<undef> if the XS was not compiled.
26
3630f57e
CBW
27Starting with release 1.23_03, Scalar-List-Util is B<always> using
28the XS implementation, but for backwards compatibility, we still
29ship the C<List::Util::XS> module which just loads C<List::Util>.
30
2ff28616
GB
31=head1 SEE ALSO
32
33L<Scalar::Util>, L<List::Util>, L<List::MoreUtils>
34
35=head1 COPYRIGHT
36
37Copyright (c) 2008 Graham Barr <gbarr@pobox.com>. All rights reserved.
38This program is free software; you can redistribute it and/or
39modify it under the same terms as Perl itself.
40
41=cut