Add built local::lib
[catagits/Gitalist.git] / local-lib5 / lib / perl5 / i486-linux-gnu-thread-multi / List / Util / XS.pm
1 package List::Util::XS;
2 use strict;
3 use vars qw($VERSION);
4 use List::Util;
5
6 $VERSION = "1.22";           # FIXUP
7 $VERSION = eval $VERSION;    # FIXUP
8
9 sub _VERSION { # FIXUP
10   require Carp;
11   Carp::croak("You need to install Scalar-List-Utils with a C compiler to ensure the XS is compiled")
12     if defined $_[1];
13   $VERSION;
14 }
15
16 1;
17 __END__
18
19 =head1 NAME
20
21 List::Util::XS - Indicate if List::Util was compiled with a C compiler
22
23 =head1 SYNOPSIS
24
25     use List::Util::XS 1.20;
26
27 =head1 DESCRIPTION
28
29 C<List::Util::XS> can be used as a dependency to ensure List::Util was
30 installed using a C compiler and that the XS version is installed.
31
32 During installation C<$List::Util::XS::VERSION> will be set to
33 C<undef> if the XS was not compiled.
34
35 =head1 SEE ALSO
36
37 L<Scalar::Util>, L<List::Util>, L<List::MoreUtils>
38
39 =head1 COPYRIGHT
40
41 Copyright (c) 2008 Graham Barr <gbarr@pobox.com>. All rights reserved.
42 This program is free software; you can redistribute it and/or
43 modify it under the same terms as Perl itself.
44
45 =cut