{"schema_version":1,"metadata":{"branch":"release","release":"7.9","architecture":"amd64","generated_at":"2026-09-09T04:04:02.361425+00:00","source_url":"https://cdn.openbsd.org/pub/OpenBSD/7.9/packages/amd64/sqlports-7.54.tgz","source_sha256":"2de00144847bf9da3a365be982f101dbb55d591ed7a915ea94984a16ab0e0404","package_count":12059,"source_kind":"sqlports"},"package":{"name":"p5-Test-MockRandom-1.01p0","path":"devel/p5-Test-MockRandom","url":"/packages/release/devel/p5-Test-MockRandom/","comment":"replace random number generation with non-random","homepage":"https://metacpan.org/release/Test-MockRandom","maintainer":"Alexander Bluhm <bluhm@openbsd.org>","description":"This perhaps ridiculous-seeming module was created to test routines\nthat manipulate random numbers by providing a known output from\nrand.  Given a list of seeds with srand, it will return each in\nturn.  After seeded random numbers are exhausted, it will always\nreturn 0.  Seed numbers must be of a form that meets the expected\noutput from rand as called with no arguments -- i.e.  they must be\nbetween 0 (inclusive) and 1 (exclusive).  In order to facilitate\ngenerating and testing a nearly-one number, this module exports the\nfunction oneish, which returns a number just fractionally less than\none.\n","package_architecture":"*","stem":"p5-Test-MockRandom","readme":null,"dependencies":[],"reverse_dependencies":{"count":2,"url":"/packages/data/0a/0ab9923d25fd5acef687624bafeb5901853eb883e760550c9ffa630cb1f2edbd.json"},"categories":["devel","perl5"],"flavors":[],"only_for_architectures":[],"not_for_architectures":[]}}
