Help for this page

Select Code to Download


  1. or download this
    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");