http://www.perlmonks.org?node_id=212016


in reply to Skip a line

just do a read in void context:
<DATAFILEIN>;
or use a scalar as a flag.