Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Switching back and forth between parts of my script

by perlfan (Curate)
on Mar 04, 2016 at 18:39 UTC ( #1156840=note: print w/replies, xml ) Need Help??


in reply to Switching back and forth between parts of my script

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.
  • Comment on Re: Switching back and forth between parts of my script

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1156840]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2018-07-18 11:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (390 votes). Check out past polls.

    Notices?