good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
rand with Perl/Tkby biochris (Beadle) |
on Feb 14, 2005 at 20:34 UTC ( [id://430924]=perlquestion: print w/replies, xml ) | Need Help?? |
biochris has asked for the wisdom of the Perl Monks concerning the following question:
How come rand works nice in a console program,
but in Tk gives a repeating patern.
(For seeding rand I use: srand(time|$$);)
I work with ActivePerl on Win32.
Thanks a lot for any help.
Back to
Seekers of Perl Wisdom
|
|