Well, I tried three of the combinations of (using CGI|not using CGI) and content type (text/html|text/plain):
|
CGI |
no CGI |
text/html |
Worked fine using PRE tags. |
(not tried) |
text/plain |
Did not work -- buffered all output!! |
Worked fine. |
I had a look at the CGI source code, and there didn't seem to be anything that talked about ignoring $|, but I will admit I only had a quick look at this Serious Collection of Magic.
In any case, I have a workaround that works (no CGI, text/plain content type) and I'll communicate that back to my client.
But if someone can find out if this deep magic really is happening in CGI, I'd be fascinated to hear about it.
Alex / talexb / Toronto
"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds