in reply to Reading certain lines in a file

while (<>) { unless (parse_line($_)) { my $line = <>; print $line; } }
--
<http://www.dave.org.uk>

"Perl makes the fun jobs fun
and the boring jobs bearable" - me