in reply to
calling subroutines
If you add 5 random numbers together, that is still just a random number. Sounds like homework.
my $iRand = int(rand($range)); #???
[download]
Update: If you add several random numbers together, there is the possibility of an overflow of precision - think about that.
Comment on
Re: calling subroutines
Download
Code
In Section
Seekers of Perl Wisdom