Home
/
partition-bacteria
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fae059
)
correction of array element in line 50
author
David Polakovic
<email@dpolakovic.space>
Thu, 20 Jul 2023 07:35:29 +0000 (09:35 +0200)
committer
David Polakovic
<email@dpolakovic.space>
Thu, 20 Jul 2023 07:35:29 +0000 (09:35 +0200)
cultivate.pl
patch
|
blob
|
history
diff --git
a/cultivate.pl
b/cultivate.pl
index 542869b149cb64dc6e94c281bda2ade8a71937e8..a7a57ff333276f12aef7546cd81d17c26ddd2c9e 100644
(file)
--- 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);