devel/p5-Algorithm-Numerical-Shuffle 2009110301_1 FreeBSD
Shuffle a list
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, perl5
- Package size
- 6.5 KiB, 7.2 KiB installed
Description
Algorithm::Numerical::Shuffle
Shuffle is a perl module which performs a one pass, fair shuffle on a list. If the list is passed as a reference to an array, the shuffle is done in situ.
The running time of the algorithm is linear in the size of the list. For an in situ shuffle, the memory overhead is constant; otherwise, linear extra memory is used.
The algorithm used is discussed by Knuth [3]. It was first published by Fisher and Yates [2], and later by Durstenfeld [1].
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Algorithm-Numerical-Shuffle | 2009110301_1 |
| DragonFly | devel/p5-Algorithm-Numerical-Shuffle | 2009110301_1 |
Install
Binary package:
pkg install p5-Algorithm-Numerical-Shuffle
From the ports tree:
cd /usr/ports/devel/p5-Algorithm-Numerical-Shuffle/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Algorithm-Numerical-Shuffle>0:devel/p5-Algorithm-Numerical-Shuffle
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2009110301_1 | 2009110301_1 | 2009110301_1 | 2009110301_1 | 2009110301_1 |
| FreeBSD:14:quarterly | 2009110301_1 | 2009110301_1 | n/a | 2009110301_1 | 2009110301_1 |
| FreeBSD:15:latest | 2009110301_1 | 2009110301_1 | n/a | 2009110301_1 | 2009110301_1 |
| FreeBSD:15:quarterly | 2009110301_1 | 2009110301_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2009110301_1 | 2009110301_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%PERL5_MAN3%%/Algorithm::Numerical::Shuffle.3.gz
- %%SITE_PERL%%/Algorithm/Numerical/Shuffle.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Algorithm-Numerical-Shuffle-2009110301.tar.gz | 4837 | 7e7cce69241d3786c15a1e798d5fa337e7ebf9f0ffe8f6c479c8dcab8bb29632 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.