would become234,456,
I have the following code234,456
This does the subsitution but the file contains both lines? Thanksopen (FH, "..."); while (<FH>) { s/\,$//; print FH $_; }
In reply to read and write to same file by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |