In article <[EMAIL PROTECTED]>,
   kenwin charles <[EMAIL PROTECTED]> wrote:

> is it possible you can assist me on how to generate random number
> between the range -10 to 10.

    my $num = int(rand 21) - 10;

...should do it.

Cheers,
Andrew.

-- 
perl -MLWP::Simple -e 'getprint("http://www.article7.co.uk/res/japh.txt";);'

Reply via email to