Initial Commit
This commit is contained in:
42
database/perl/lib/List/Util/XS.pm
Normal file
42
database/perl/lib/List/Util/XS.pm
Normal file
@@ -0,0 +1,42 @@
|
||||
package List::Util::XS;
|
||||
use strict;
|
||||
use warnings;
|
||||
use List::Util;
|
||||
|
||||
our $VERSION = "1.55"; # FIXUP
|
||||
$VERSION =~ tr/_//d; # FIXUP
|
||||
|
||||
1;
|
||||
__END__
|
||||
|
||||
=head1 NAME
|
||||
|
||||
List::Util::XS - Indicate if List::Util was compiled with a C compiler
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
use List::Util::XS 1.20;
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
C<List::Util::XS> can be used as a dependency to ensure List::Util was
|
||||
installed using a C compiler and that the XS version is installed.
|
||||
|
||||
During installation C<$List::Util::XS::VERSION> will be set to
|
||||
C<undef> if the XS was not compiled.
|
||||
|
||||
Starting with release 1.23_03, Scalar-List-Util is B<always> using
|
||||
the XS implementation, but for backwards compatibility, we still
|
||||
ship the C<List::Util::XS> module which just loads C<List::Util>.
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
L<Scalar::Util>, L<List::Util>, L<List::MoreUtils>
|
||||
|
||||
=head1 COPYRIGHT
|
||||
|
||||
Copyright (c) 2008 Graham Barr <gbarr@pobox.com>. All rights reserved.
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the same terms as Perl itself.
|
||||
|
||||
=cut
|
||||
Reference in New Issue
Block a user