in reply to how to update a field of a record in a large text file

This is a Frequently Asked Question.

How do I change one line in a file/delete a line in a file/insert a line in the middle of a file/append to the beginning of a file?

The answer is "use Tie::File".

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

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

  • Comment on Re: how to update a field of a record in a large text file