use strict; use warnings; use AI::NeuralNet::Kohonen; push @inputs, [41 scalar entries go here]; # the above statement is actually in a loop my $input_ref = \@inputs;