in reply to Removing Lines from a file

Look at Tie::File instead. It's included with modern versions of Perl.

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg