Welcome to the Monastery | |
PerlMonks |
Re: Script fails to insert text and appends it towards the end of file.by GrandFather (Saint) |
on Nov 22, 2020 at 08:24 UTC ( [id://11124010]=note: print w/replies, xml ) | Need Help?? |
It's kinda hard to tell where this code may be going, but it smells like there should be a database involved. If this sort of random access to lines continues to be required beyond an initialisation phase then a database is likely to perform better with less messing around and less effort than most other techniques.
Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
In Section
Seekers of Perl Wisdom
|
|