while( <> ) { ... # the -e snippet here } #### while( <> ) { ... # the part of the -e snippet before the }{ here; runs for every line in the file. }{ # closes the while loop body and puts a bare block after it ... # The part of the -e snippet after the }{ goes here and is only executed after the input is exhausted. }