write to files

My os is win2000.  I have perl 5.22 installed in my computer and simple .pl scripts work fine.  When I try to write to a file, it can't open:
unless (open(NAM2, ">>$file")) {
print "File will not open";
}
when I set my server access permissions to write, the perl script will not run.
Are there some other permissions that need to be set?
donb1Asked:
Who is Participating?
 
ozoConnect With a Mentor Commented:
print "File $file will not open because $!";
0
 
donb1Author Commented:
showed up invalid argument - I forgot to put double \\'s in the path statement.  
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.