/^$/ or print for @strings; #### for my $s (@strings) { print $s unless $s =~ /^$/; }