while(){ each line of your file is iterated over... the contents of each line are stored in the variable $_ }