Tag Archive

amateur astronomy awk bash be b[e] supergiant cartoon conference convert evolved star exoplanet fedora figaro fits fun galaxy history iraf jupiter latex linux lmc machine learning massive star matplotlib meteor mypaper paper peblo photometry planet pro-am pyraf python scisoft skinakas observatory small magellanic cloud smc spectroscopy starlink talk theli ubuntu university of crete video x-ray

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!