my @dateiinhalt = [[],[],[]]; my $whatever = 17.5; push @{ dateiinhalt[0] }, $whatever; #push @{ $dateiinhalt[0] }, $whatever;