[OLUG] quick question
ktb
xyf at inetnebr.com
Wed Feb 23 23:33:53 UTC 2000
I think this would actually give you numbers 1 through 10,
perl -e 'srand();print int(rand(10)+ 1) . "\n";'
I couldn't get '0' to come up anyway.
kent
Adam Lassek wrote:
>
> Just one number, one through ten. pretty simple.
>
> Adam Korab wrote:
> >
> > On Wed, Feb 23, 2000 at 02:26:02PM -0600, Adam Lassek wrote:
> > > Sorry, shoulda been more clear. Just something between 1 and ten.
> >
> > How many do you need to generate at a time?
> > --
> > |--------------------------------------------------------------------|
> > | ThisemailbroughttoyoubyJOLTcola,favored | |
> > | bysysadmins,netadminsandprogrammers | adam at ledhazard.net |
> > | everywhere.JOLTcola--forallthesugarand | |
> > | twicethecaffeine.(R) | |
> > |--------------------------------------------------------------------|
> >
> >
-------------------------------------------------------------------------
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