in reply to Re: Script fails to insert text and appends it towards the end of file.
in thread Script fails to insert text and appends it towards the end of file.

Hi GrandFather, there is indeed a database involved. I am using Perl to run multiple instances of a finite element software. So, it requires the input files to be updated for every run, using values from the database.
  • Comment on Re^2: Script fails to insert text and appends it towards the end of file.

Replies are listed 'Best First'.
Re^3: Script fails to insert text and appends it towards the end of file.
by GrandFather (Saint) on Nov 22, 2020 at 20:05 UTC

    In that case wouldn't it be more efficient to add a table or tables to the database rather than work with external temporary files?

    Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond

      In that case wouldn't it be more efficient to add a table or tables to the database...

      Or even dynamically create a temporary table or tables from within the code.