Re: problem with and FilterInput

2000-11-01 Thread Madhu Krishnapuram
Never mind it was staring at me right in the face -- local $/ = undef. (in the handler code) Sorry about that. - madhu >/dev/dumb Madhu Krishnapuram wrote: > Thanks! For some reason - my record separator had been reset - so the whole > file was getting slurped. Explicitly setting $/="\n"

Re: problem with and FilterInput

2000-11-01 Thread Madhu Krishnapuram
Thanks! For some reason - my record separator had been reset - so the whole file was getting slurped. Explicitly setting $/="\n" seems to solve the problem... But, my question now becomes - is this the expected/intended behavior? Angus Lees wrote: > On Wed, Nov 01, 2000 at 11:20:40AM -0800, Mad

Re: problem with and FilterInput

2000-11-01 Thread Angus Lees
On Wed, Nov 01, 2000 at 11:20:40AM -0800, Madhu Krishnapuram wrote: > If I use HTML::Embperl as my handler - everything works fine. Reads one > line and processes it in the while loop. > > If I use this in filter mode - it sucks up the whole file on the first > 'read' -- it goes thru the loop bod

problem with and FilterInput

2000-11-01 Thread Madhu Krishnapuram
Hi all, I am using an embperlFilter + SSI (as described in this section -) http://perl.apache.org/guide/snippets.html#SSI_and_Embperl_Doing_Both So, here's my problem -- (I'm using emberl 1.2.1 - i also tried it with 1.3b3 with no luck. Apache 1.3.12, modperl 1.24) Code: (in the ... section) [$