1 2 3 4 5 6
my $sql = 'select * from Datenbank'; my $hash_ref; while ($hash_ref = $dbh->selectrow_hashref($sql)) { Servers[$hash_ref->{'ID'}] = $$hash_ref; }