my $location = $table->[$i][0]; my $room = $table->[$i][1];