Hello monks,
I wanted to ask if there is a way of opening a file for reading and then write something into it.
I found this: open FILE, "+>>test.txt"; and tried:
open FILE, "+>>test.txt";
while(<FILE>)
{
print $_;
print FILE "*****************";
}
close FILE;