Hi All:

        My thanks to Curtis Poe, Maxim Berlin, Alessandro Lenzen and Remco 
Schoeman for contributing to the resolution of this problem.

        In brief the problem was that I had three different types of line ends 
(none, UNIX line end and Windows line end) showing up in an HTML page I was 
creating from an older HTML page (created on a Windows box) and a perl 
script. One of the problems came from the use of a template created on a 
Windows '98 box and included as a block in the new page. None of the line 
ends were handled properly when the file was opened. This was quickly 
replaced with a heredoc assigned to an array, but again, the line ends were 
not handled properly. At one point MSIE 6.0b was pulling in the page but 
when I viewed the source, again, none of the line ends were handled 
properly. I then used cat -vE pagename.htm to view the page and again, the 
line ends were not correct.

        I then replaced the heredoc with 70+ scalar assignments and subsequent 
pushs onto the array. Finally, the line ends started to straighten out. 
However, a bug in MSIE 6.0b showed its head. It appears, although not 
scientfically proven, that MSIE 6.0b does not refresh properly when 
shift-refresh is used. In all fairness, the file was travelling across a 
Samba network and we can't expect MSIE to work with that.

        The result is that I replaced all "\n" with "\r\n", removed the heredoc 
assignment to an array and removed the template. Well, that was one 
experiment. A few million more to go.

        Thanks to all who responded.

        Ron Woodall
---------------------------------------
Ron Woodall
[EMAIL PROTECTED]

The Compendium of HTML Elements
"your essential web publishing resource"

- available at/disponible à:
http://au.htmlcompendium.org/index.htm (Australia)
http://www.htmlcompendium.org/index.htm (Europe and North America)


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to