I've got an embperl (1.3.4) page that dumps a blob from a database with
an appropriate content type, and I'm finding I'm getting trailing
whitespace when I save the output to disk. For binaries this can be a
problem.

Simple example - a file containing:

  [+ 'abc' +]

gets saved as (od -c output):

0000000   a   b   c  \n  \r  \n
0000006

Similarly,

  [- print OUT 'abc' -]

produces:

0000000   a   b   c  \r  \n
0000005

This is true even if the epl file doesn't contain a trailing eol. Any
idea where this is coming from (embperl? apache?), and if there's an
easy way of suppressing it? 

I suppose I could try rewriting it as a CGI, but then it becomes
stylistically distinct from all the other pages in this app ...

Cheers,
Gavin


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

Reply via email to