open (OUTFILE, ">@htmlLines")
Are you sure about that second argument? Does the file name you want to write to indeed come from joining the elements of that array with spaces? Are you sure you don't want to use a regular file name?
or die("Can't rewrite the HTML file.\n");
For anything other than run-once programs, I include the filename I used in the open statement in the error message.
Abigail
In reply to Re: File opening problems
by Abigail-II
in thread File opening problems
by Tricky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |