Hi,

perlfaq4 - Data Manipulation
Data: Numbers
 o Why aren't my random numbers random?

Example shows that the random number generator needs to be seed using command:

BEGIN { srand() if $[ < 5.004 }

however the variable '$[' should be '$]'

Regards,
 - Tomi

T-Pad - Perl-script editor with syntax highlighting
Download from: http://www.sunpoint.net/~tparviai/
-
Sunpoint.net ilmoittaa:

Sunpoint.net tarjoaa kaikille rekister�ityneille k�ytt�jilleen kuukausimaksuttoman 
Internet -yhteyden (pvm).
http://www.sunpoint.net/SunAds/click.htm?mode=footer&id=71&jump=http%3A%2F%2Fwww.sunpoint.net

Reply via email to