• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 158
  • Last Modified:

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?
0
donb1
Asked:
donb1
1 Solution
 
ozoCommented:
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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now