in reply to Re: File opening problems
in thread File opening problems

Just replaced the duff code with this:
# Replacing original file with reformatted file! my @htmlFile = "@htmlLines"; open (OUTFILE, ">E:/Documents and Settings/Richard Lamb/My Documents/H +TML/test1InDocCSS.html") or die("Can't rewrite the HTML file.\n"); print (OUTFILE @htmlFile); close (INFILE); close (OUTFILE);
It works! Fantastic!I opened the original html file on my hard-drive a +nd, hey-presto, no images or hyperlinks... Thanks a million Abigail, Richard

Replies are listed 'Best First'.
Re: File opening problems
by Abigail-II (Bishop) on Aug 19, 2003 at 13:33 UTC
    my @htmlFile = "@htmlLines";

    Why? Does this have a point except using more memory than necessary?

    Abigail