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 <head>...</head> section)
[$ while ($line= <TAG>) $]
[-
       chomp($line);
       if ($line =~ m/=/) {
         ($k,$v)=split(/\s*=\s*/,$line);
         $blendertags{$k}=$v;
       }
-]
[$endwhile$]

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.

What am i missing?

- madhu


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

Reply via email to