Advertisement
hakonhagland

List::Util::XS

Jul 23rd, 2021
1,765
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 1.14 KB | None | 0 0
  1. $ cat /Users/hakonhaegland/perl5/perlbrew/perls/perl-5.32.0/lib/site_perl/5.32.0/darwin-2level/List/Util/XS.pm
  2. package List::Util::XS;
  3. use strict;
  4. use warnings;
  5. use List::Util;
  6.  
  7. our $VERSION = "1.56";       # FIXUP
  8. $VERSION =~ tr/_//d;         # FIXUP
  9.  
  10. 1;
  11. __END__
  12.  
  13. =head1 NAME
  14.  
  15. List::Util::XS - Indicate if List::Util was compiled with a C compiler
  16.  
  17. =head1 SYNOPSIS
  18.  
  19.     use List::Util::XS 1.20;
  20.  
  21. =head1 DESCRIPTION
  22.  
  23. C<List::Util::XS> can be used as a dependency to ensure List::Util was
  24. installed using a C compiler and that the XS version is installed.
  25.  
  26. During installation C<$List::Util::XS::VERSION> will be set to
  27. C<undef> if the XS was not compiled.
  28.  
  29. Starting with release 1.23_03, Scalar-List-Util is B<always> using
  30. the XS implementation, but for backwards compatibility, we still
  31. ship the C<List::Util::XS> module which just loads C<List::Util>.
  32.  
  33. =head1 SEE ALSO
  34.  
  35. L<Scalar::Util>, L<List::Util>, L<List::MoreUtils>
  36.  
  37. =head1 COPYRIGHT
  38.  
  39. Copyright (c) 2008 Graham Barr <gbarr@pobox.com>. All rights reserved.
  40. This program is free software; you can redistribute it and/or
  41. modify it under the same terms as Perl itself.
  42.  
  43. =cut
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement