in reply to Newbie Question: Permission Denied
Just debug the problem a little further by inserting these statements before the call to open():
That should tell you what's wrong.die "file '$fname' does not exist" unless (-e $fname); die "file '$fname' is not a regular file" unless (-f $fname); die "file '$fname' is not writable" unless (-w $fname);
|
|---|