cristianekw has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I have a strange problem here. Using getoptions, I get and store a file name. After some operations, I get this string to append something to this file. Using open command, I can read it, but I canīt write in it. If I use open(FH,">>$file") it does not work. But it works fine If I use open(FH,">>c:\\logfile.log"). I thought it could be a slash problem, but if I call the program with any number of slash, the problem persists. Am I making something wrong? Thanks for any help.