Help for this page
use Test::MockRandom 'Some::Other::Package'; use Some::Other::Package 'pin'; # exports pin() ... is( pin(), '0000', "rand always zero" ); is( pin(), '9999', "rand always almost one");