Hacker, author, trainer
Technorati Profile [technorati.com]
Took me a while to work out what this interesting Perl typo was doing.
$ perl -le 'print rand[10]'
24306146.4335798
$ perl -le 'print rand[10]'
49138251.923694
Obviously what was intended was rand(10).
Can you work out what's going on before reading the discussion on Perlmonks?
Re: (Score:1)
It took me about 5 seconds. :-)