use strict; use warnings; use PDL; use PDL::Util 'add_pdl_method'; add_pdl_method({'getArray' => 'unroll'}); print "OK\n";