Hi Masters
I need to add some text in file.tmp.
I used coding:
open(File, "< d:\\swift\\file.tmp"); undef $/; $F=<File>; $F.='Add Some Text at last'; close (File); open(File, "> d:\\swift\\file.tmp"); print File $F; close (File);
I feel that this coding is too long. Is there any short way to reduce it.
Thank You.
In reply to Add Contents At last in a File by swift
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |