4082 FreshPorts -- devel/p5-Test-MockRandom
FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
p5-Test-MockRandom 1.00 devel on this many watch lists=0 search for ports that depend on this port
Replaces random number generation with non-random number generation
Maintained by: perl@FreeBSD.org search for ports maintained by this maintainer
Port Added: 25 Jul 2006 20:59:01
Also Listed In: perl5
License: not specified in port


This perhaps ridiculous-seeming module was created to test routines that
manipulate random numbers by providing a known output from rand. Given a list of
seeds with srand, it will return each in turn. After seeded random numbers are
exhausted, it will always return 0. Seed numbers must be of a form that meets
the expected output from rand as called with no arguments -- i.e. they must be
between 0 (inclusive) and 1 (exclusive). In order to facilitate generating and
testing a nearly-one number, this module exports the function oneish, which
returns a number just fractionally less than one.

Depending on how this module is called with use, it will export rand to a
specified package (e.g. a class being tested) effectively overriding and
intercepting calls in that package to the built-in rand. It can also override
rand in the current package or even globally. In all of these cases, it also
exports srand and oneish to the current package in order to control the output
of rand.

Alternatively, this module can be used to generate objects, with each object
maintaining its own distinct seed array.

WWW: http://search.cpan.org/dist/Test-MockRandom/
SVNWeb : Main Web Site : Distfiles Availability : PortsMon

NOTE: FreshPorts displays only required dependencies information. Optional dependencies are not covered.

Required To Build:
  1. devel/p5-Module-Build
  2. lang/perl5.14
Required To Run:
  1. lang/perl5.14
There are no ports dependent upon this port

To install the port: cd /usr/ports/devel/p5-Test-MockRandom/ && make install clean
To add the package: pkg_add -r p5-Test-MockRandom


Configuration Options
     No options to configure

Master Sites:
  1. ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/
  2. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Test/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Test/
  4. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Test/
  5. ftp://ftp.dti.ad.jp/pub/lang/CPAN/modules/by-module/Test/
  6. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Test/
  7. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/Test/
  8. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Test/
  9. ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/Test/
  10. ftp://mirror.hiwaay.net/CPAN/modules/by-module/Test/
  11. http://at.cpan.org/modules/by-module/Test/
  12. http://backpan.perl.org/modules/by-module/Test/
  13. http://cpan.nctu.edu.tw/modules/by-module/Test/
  14. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Test/
  15. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Test/
  16. http://www.cpan.dk/modules/by-module/Test/
  17. http://www.cpan.dk/modules/by-module/Test/

Number of commits found: 6

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
06 Jun 2013 13:28:19
Original commit files touched by this commit  1.00
mat search for other commits by this committer
PERL_MODBUILD implies PERL_CONFIGURE and PERL_CONFIGURE implies USE_PERL5.

Reported by: http://az.semmy.ru/perl_sdad.txt
27 May 2013 11:50:38
Original commit files touched by this commit  1.00
bapt search for other commits by this committer
Do not try to remove directories not created by the port

Reported by:	pkg (DEVELOPER_MODE)
01 May 2012 01:47:10
Original commit files touched by this commit  1.00
swills search for other commits by this committer
- Assign clsung's p5- ports to perl@

Approved by:    clsung via IRC
03 Jul 2011 14:59:23
Original commit files touched by this commit  1.00
ohauer search for other commits by this committer
-remove MD5
07 Jan 2008 07:48:21
Original commit files touched by this commit  1.00
clsung search for other commits by this committer
- Update to 1.00
- Reset maintainership

Changes:        http://search.cpan.org/dist/Test-MockRandom/Changes
PR:             ports/119402
Submitted by:   Jin-Shan Tseng <tjs_AT_cdpa dot nsysu dot edu dot tw>
25 Jul 2006 20:58:24
Original commit files touched by this commit  0.99
ehaupt search for other commits by this committer
Add p5-Test-MockRandom 0.99, replaces random number generation with
non-random number generation.

PR:             100749
Submitted by:   Jin-Shan Tseng <tjs at cdpa.nsysu.edu.tw>

Number of commits found: 6

28c5
Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
asterisk*Jun 19
asterisk10*Jun 19
clamav*Jun 19
clamav-devel*Jun 19
cyrus-imspd*Jun 19
glpi*Jun 19
otrsJun 19
otrsJun 19
tshark*Jun 19
tshark-lite*Jun 19
wireshark*Jun 19
wireshark-lite*Jun 19
apache-xml-security-cJun 18
linux-f10-flashplugin10*Jun 18
linux-f10-flashplugin11*Jun 18

15 vulnerabilities affecting 24 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds


Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24572
Broken 187
Deprecated 454
Ignore 561
Forbidden 0
Restricted 288
No CDROM 110
Vulnerable 19
Expired 48
Set to expire 439
Interactive 33
new 24 hours 6
new 48 hours13
new 7 days33
new fortnight84
new month177

This site
What is FreshPorts?
About the Authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact
8e7

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2013 DVL Software Limited. All rights reserved.
0