* linux...@gmx.net <linux...@gmx.net> [22-11/20=Su 09:58 +0100]: > I have a large file which has millions of lines. They are text > only lines. If I have to change one line in the file, what's the > efficient way? I don't want to slurp the whole file into memory, > change that line and write the full content back to disk again.
See the built-in functions sysopen, sysread, sysseek, syswrite. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/