Just another Perl shrine | |
PerlMonks |
Re: Switching back and forth between parts of my scriptby perlfan (Vicar) |
on Mar 04, 2016 at 18:39 UTC ( [id://1156840]=note: print w/replies, xml ) | Need Help?? |
Weight it by chance - say, 75% chance it'll choose an element from @array1, 25% chance it'll choose from @array2. Adjust the % chance based on your needs.
In Section
Seekers of Perl Wisdom
|
|