while () { print if length($_) > 251; } #### while () { chomp; print $_."\n" if length($_) > 250; }