here i am trying to append the data to a file with the same syntax before it was working fine after sligh modifications of the code it is not writing or appending the data to a file i dont understand why its happening here is my code
open (writefile,">>",$target_full_path) ||
die "Can't open $target_full_path";
print $fetchdata; #it is working
print writefile $fetchdata; # not appending
$rowcount++; #here it is counting
here it is fetching the data and in the while loop i used "print $fetchdata" to check whether it is retreiving teh data or not here it is fetching the data but i dont know why its not appending into a file. Any suggestions would be great.