I believe the culprit is that you are opening File_3 in overwite > for every line of File_2. Either switch to append >>, or (better) move the File_23 opening to outside the loop. (On my phone, so no examples, sorry).
Oh, and use warnings; use strict;, and lexical filehandles (see open)
edit: fix file number
In reply to Re: Last value update is only happening instead of all.
by pryrt
in thread Last value update is only happening instead of all.
by anirbanphys
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |