>
> Thanks - I had a 'local $escmode = 0' in the original, which I guess
> does the unescaping but not the whitespace munging due to scope. The
> escaping gets rid of the final \r\n, which is what I was after.
>
Embperl 1.3 append a \r\n at the end of the output if $escmode isn't 0 at
the end of
On Fri, Apr 12, 2002 at 05:52:59AM +0200, Gerald Richter wrote:
> > 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.
>
> 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.
You have to turn of escaping
> For binaries this can be a
> prob
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'