Полезная информация

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: sqrtChapter 5
Function Reference
Next: Reference: stat


srand expr

Sets the random number seed for the rand operator so that rand can produce a different sequence each time you run your program. If expr is omitted, a default seed is used that is a mix of difficult-to-predict, system-dependent values. If you call rand and you haven't called srand yet, rand calls srand with the default seed.

Previous: Reference: sqrtPerl in a NutshellNext: Reference: stat
Reference: sqrtBook IndexReference: stat