while ( chomp ( $_ = ) and length $_){ print " [$_]\n"; }