sub srand

Documentation for sub srand assembled from the following types:

class Num

From Num

(Num) sub srand

sub srand(Int $seed --> Int:D)

Seeds the pseudo random number generator used by Num.rand with the provided value. Note that srand is called with a platform dependent value when a Perl 6 program is started.