# Hey changed the code from $rng->{Value} = @mydata; # To $rng->{Value} = \@mydata;