On Sun, 26 Jan 2003 18:49:59 +0530, Sukrit wrote: > How do i delete the last 12 (or so) lines of a large file (400+ lines) > without loading the whole into memory.
use Tie::File; tie @line, 'Tie::File', $filename or die "..."; splice @line, -12; untie @line; Greetings, Janek -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]