line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Permute.pm |
2
|
|
|
|
|
|
|
# |
3
|
|
|
|
|
|
|
# Copyright (c) 1999 - 2008 Edwin Pratomo |
4
|
|
|
|
|
|
|
# |
5
|
|
|
|
|
|
|
# You may distribute under the terms of either the GNU General Public |
6
|
|
|
|
|
|
|
# License or the Artistic License, as specified in the Perl README file, |
7
|
|
|
|
|
|
|
# with the exception that it cannot be placed on a CD-ROM or similar media |
8
|
|
|
|
|
|
|
# for commercial distribution without the prior approval of the author. |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
package Algorithm::Permute; |
11
|
3
|
|
|
3
|
|
160302
|
use strict; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
82
|
|
12
|
3
|
|
|
3
|
|
13
|
use warnings; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
113
|
|
13
|
|
|
|
|
|
|
|
14
|
3
|
|
|
3
|
|
16
|
use Exporter 'import'; |
|
3
|
|
|
|
|
12
|
|
|
3
|
|
|
|
|
222
|
|
15
|
|
|
|
|
|
|
our @EXPORT_OK = qw(permute); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = '0.16'; # VERSION |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
our $XS_VERSION = $VERSION; |
20
|
|
|
|
|
|
|
$VERSION = eval $VERSION; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
require XSLoader; |
23
|
|
|
|
|
|
|
XSLoader::load('Algorithm::Permute', $XS_VERSION); |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |