in reply to File opening problems

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

Replies are listed 'Best First'.
Re: Re: File opening problems
by Tricky (Sexton) on Aug 19, 2003 at 13:11 UTC
    Ahh, so I should be replacing the array variable name with the actual file path, as in: open (OUTFILE, ">E:/Documents and Settings/Richard Lamb/My Documents/HTML/test1InDocCSS.html" or die... Simple mistakes. Doh.