close(SRC);
close(DES);
- # child needs to have its name replaced in line 7
- # this string contains line 7 of this bacteria, except for the name
+ # child needs to have its name replaced in line 12
+ # this string contains line 12 of this bacteria, except for the name
my $rpl_text = 'my $src =' . '\'' . $rndname . '\';';
# read newly created bacteria content into an array
}
}else{
# bacteria has not enough place to survive
+ # UNCOMMENT TO DELETE BACTERIA IF THERE IS NO PLACE ON DISK
#unlink("$src");
}
close($fh);
# bacteria dies at the end of its life
+# UNCOMMENT TO DELETE BACTERIA WHEN FINISHED
#unlink("$src");