Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2019-02-19 05:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I use postfix dereferencing ...









    Results (101 votes). Check out past polls.

    Notices?