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" 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, 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 body just once.
> >
> > whats the value of $/ before the diamond operator (the read) ?
> >
> > --
> >  - Gus
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to