while(<IN>) { next if ($.<4); chomp $_; } 转载于:https://www.cnblogs.com/blueicely/archive/2012/12/13/2816280.html