[OLUG] quick question

ktb xyf at inetnebr.com
Wed Feb 23 23:25:14 UTC 2000


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";'

hth,
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