Bug 55574 - New port: p5-Algorithm-Numerical-Shuffle.shar
Summary: New port: p5-Algorithm-Numerical-Shuffle.shar
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2003-08-14 11:40 UTC by Andrew McNaughton
Modified: 2003-08-20 07:56 UTC (History)
1 user (show)

See Also:

file.shar (2.52 KB, text/plain)
2003-08-14 11:40 UTC, Andrew McNaughton
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew McNaughton 2003-08-14 11:40:20 UTC

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].
Comment 1 Erwin Lansing freebsd_committer 2003-08-20 07:56:15 UTC
State Changed
From-To: open->closed

Port added, thanks! 

I've fixed pkg-plist for you. You missed .packlist and forgot 
to remove all created directories