This will make a new number between 0 .. n every hour. Totally predictable, but that is probably okay in this case.my $interval = 60*60; # one hour my $random = int(time/$interval)%$n; # not random, though
In reply to Re: Randomizing "statically" on a daily/weekly basis
by Thilosophy
in thread Randomizing "statically" on a daily/weekly basis
by hacker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |