my @True; for my $Element (@Array){ if ($Element){ push @True, $Element; } }