In Num§
See primary documentation in context for 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 Raku program is started.