print unless $should_not_print++; print if !$seen++; #### tie my $first, "Trueonce"; while () { print if !$first; }