BSD Ports

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

SystemPortVersion
FreeBSDdevel/p5-Algorithm-Numerical-Shuffle2009110301_1
DragonFlydevel/p5-Algorithm-Numerical-Shuffle2009110301_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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2009110301_12009110301_12009110301_12009110301_12009110301_1
FreeBSD:14:quarterly2009110301_12009110301_1n/a2009110301_12009110301_1
FreeBSD:15:latest2009110301_12009110301_1n/a2009110301_12009110301_1
FreeBSD:15:quarterly2009110301_12009110301_1n/an/an/a
FreeBSD:16:latest2009110301_12009110301_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
FileSizeSHA256
Algorithm-Numerical-Shuffle-2009110301.tar.gz48377e7cce69241d3786c15a1e798d5fa337e7ebf9f0ffe8f6c479c8dcab8bb29632
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.