Please don't. As others have noted, Perl often does this for you. What they haven't noted is that when Perl does, it does a better job than you did.
For more details and suggestions of how to do it in a way that works for both old and new Perl, see Perl's auto srand() RE: a random sort of list.
- tye (but my friends call me "Tye")In reply to (tye)Re: random number generation problem
by tye
in thread random number generation problem
by cghost23
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |