{"schema_version":1,"metadata":{"branch":"current","release":"7.9","architecture":"amd64","generated_at":"2026-09-09T04:04:41.004595+00:00","source_url":"https://cdn.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/sqlports-7.55.tgz","source_sha256":"fcdbba1b9df747882aa9bab4af20ebec8dac10655069c90f1cd4145c06e1235e","package_count":12031,"source_kind":"sqlports"},"package":{"name":"p5-Test-MockRandom-1.01p0","path":"devel/p5-Test-MockRandom","url":"/packages/current/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/1f/1fe1adb3d3a860a7dbbe728e4f2ba570ef93b9231d5e1c3c44c8665cd72e56e5.json"},"categories":["devel","perl5"],"flavors":[],"only_for_architectures":[],"not_for_architectures":[]}}
