in reply to Re: appending is not done
in thread appending is not done

I'd stick a $! on the end of that print. That way you can see what the error is :-)
open(FD, ">>file_name") or die("Can't open file for appending: $!\n");
---
my name's not Keith, and I'm not reasonable.