on my professional endeavors...
Fast note on shuffling a list with Perl

Fast note on shuffling a list with Perl

Used in a Perl script so I noted now because I will totally forget how to use it!

use List::Util qw(shuffle)
my @coef = (-2..2);
my @random_coef = shuffle @coef;

Thanks to Alexandros M. for this tip!

Leave a Reply

Your email address will not be published. Required fields are marked *