A couple of lines up from the bottom of your code:
open (OUTFILE, ">@htmlLines") or die...Spot the typo?
Say your array @htmlLines contained (Hello, world): you are opening a file named 'Hello world'!
dave
In reply to Re: File opening problems
by Not_a_Number
in thread File opening problems
by Tricky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |