No such thing as a small change | |
PerlMonks |
Re: Prepending header line to HUGE csv fileby choroba (Cardinal) |
on Oct 30, 2015 at 14:59 UTC ( [id://1146500]=note: print w/replies, xml ) | Need Help?? |
Files grow at the end. You can't easily insert a line anywhere else. You might try playing with the buffer size to speed up the process, though:
Update: it seems read is a bit faster on my system. YMMV.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In Section
Seekers of Perl Wisdom
|
|