From 746efae376ae8771ccec966c6027664b718fa771 Mon Sep 17 00:00:00 2001 From: David Polakovic Date: Thu, 20 Jul 2023 09:35:29 +0200 Subject: [PATCH] correction of array element in line 50 --- cultivate.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cultivate.pl b/cultivate.pl index 542869b..a7a57ff 100644 --- a/cultivate.pl +++ b/cultivate.pl @@ -46,8 +46,8 @@ if($vitality > $used_spc){ my @lines = <$fh>; close($fh); - # update line 7 - $lines[6] = "$rpl_text\n"; + # update line 12 + $lines[11] = "$rpl_text\n"; # write updated content from array to the new bacteria open($fh, '>', $rndname); -- 2.30.2