while ($temp = <$INPUT>) { if ($temp !~ //) { chomp; my @line = split(';', $temp); } }