while(<>){ next if $. <4; #codeblockdoingsomeotherthings print; }