From: David Polakovic Date: Thu, 20 Jul 2023 07:35:29 +0000 (+0200) Subject: correction of array element in line 50 X-Git-Url: http://git.dpolakovic.space/?a=commitdiff_plain;h=746efae376ae8771ccec966c6027664b718fa771;p=partition-bacteria correction of array element in line 50 --- 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);