> I have an EPO file which needs to have no carriage returns in the final
> output. I do want carriage returns in the source for readability.
> Unless I'm missing something, there's no easy way to do this in Embperl.
> May I suggest another option, optStripCR? When activated, all carriage
> returns are stripped before going to the browser.
>
> [$ nop $] would be nice as well to strip newlines on a case-by-case basis.
>

You can use EMBPERL_INPUT_FUNC to retrieve the file on your own and strip
CR's on the fly.

Also in a <PRE> section I don't see why CR's should be a problem, because it
don't affect browsers displays if line endings are CRLF or LF only

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



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

Reply via email to