[OLUG] quick question
Chris Garrity
m0ntar3 at home.com
Thu Feb 24 04:20:15 UTC 2000
Open Source modify :)
perl -e 'for (1..100) { srand(); print int(rand(10)) . "\n"; }'
or even more fun:
perl -e 'for (1..1000) { srand(); print int(rand(10)) . " "; } print
"\n"; '
_chris
ktb wrote:
>
> Changing the number for rand that Dave posted to '10' would give you
> numbers "0-9" Would that work for you?
>
> perl -e 'srand(); print int(rand(10)) . "\n";'
-------------------------------------------------------------------------
Sent by OLUG Mailing list Manager, run by ezmlm. http://olug.bstc.net/
To unsubscribe: `echo unsubsribe | mail olug-unsubscribe at bstc.net`
More information about the OLUG
mailing list