| 1 | package List::Helpers::XS; | ||
| 2 | |||
| 3 | 1 | ▶ | use 5.026001; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 1 | require Exporter; | |
| 8 | |||
| 9 | 1 | our @ISA = qw(Exporter); | |
| 10 | |||
| 11 | 1 | our %EXPORT_TAGS = ( | |
| 12 | 'all' => [ qw/ shuffle_multi shuffle random_slice / ], | ||
| 13 | 'slice' => [ qw/ random_slice / ], | ||
| 14 | 'shuffle' => [ qw/ shuffle shuffle_multi / ], | ||
| 15 | ); | ||
| 16 | |||
| 17 | 1 | our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); | |
| 18 | |||
| 19 | 1 | our @EXPORT = qw//; | |
| 20 | |||
| 21 | 1 | our $VERSION = '0.20'; | |
| 22 | |||
| 23 | 1 | require XSLoader; | |
| 24 | 1 | XSLoader::load('List::Helpers::XS', $VERSION); | |
| 25 | |||
| 26 | 1 | 1; | |
| 27 | __END__ | ||