Hi,
Thanks for your valuable information.
The problem is that while writing a file in server, each data stored in an array will write into the file and "\n" is used to separate each line. I think that's why i couldn't get the proper file.
writing content in a file, i used this code
open (FL,"+<file.txt")
foreach $ans(@arr)
{
print FL $ans."\n";
}
close FL;
Is there any way to write content line by line without appending "n"
Waiting for your suggestion
Thanks,
Sur | [reply] [d/l] |