Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^2: Random shuffling

by onlyIDleft (Scribe)
on Jun 20, 2015 at 18:23 UTC ( #1131280=note: print w/replies, xml ) Need Help??

in reply to Re: Random shuffling
in thread Random shuffling

Thank you, that was an insightful reply

First time I tried to shuffle, I used a different Perl module, but exact same syntax otherwise. That module is

use Array::Shuffle qw(shuffle_array shuffle_huge_array); # from

I got inexplicable results using that module to randomly shuffle the sequences. That one is supposed to use the Fisher Yates Knuth algorithm. I contacted the author of the Perl module, and he suggested I cross verify using another Perl module. So using List::Util now.

Replies are listed 'Best First'.
Re^3: Random shuffling
by Laurent_R (Canon) on Jun 20, 2015 at 19:36 UTC
    And can you say what is inexplicable in the results you obtained?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1131280]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2020-10-26 22:16 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (254 votes). Check out past polls.