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
1 package List::Util::XS;
2 use strict;
3 use List::Util;
4
5 our $VERSION = "1.42_01";       # FIXUP
6 $VERSION = eval $VERSION;    # FIXUP
7
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
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
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