in reply to
Re^2: How to Print Every Other Line
in thread
How to Print Every Other Line
...and that's what (s)he gave. By calling the <DATA> in the loop, (s)he is taking a line and throwing it away. So, in essence, you're reading two lines and printing one.
thor
Comment on
Re^3: How to Print Every Other Line
In Section
Seekers of Perl Wisdom