Don't ask to ask, just ask | |
PerlMonks |
Re: Where is the zero coming from?by InfiniteSilence (Curate) |
on Aug 01, 2014 at 22:22 UTC ( [id://1095971]=note: print w/replies, xml ) | Need Help?? |
I think you need to read the perldoc for the rand() function:
It doesn't return a random element from your list. Since your question reads so much like homework I'll leave you with this:
Celebrate Intellectual Diversity
In Section
Seekers of Perl Wisdom
|
|