perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: Nested <DL> Bug in 2.0b9
Date Mon, 02 Feb 2004 19:28:30 GMT
>
> Gerald, this is proving quite difficult to nail down to a simple
> minimal case. For me, however, this code seems to produce the effect.
> If I

Appended is a patch that should fix the problem (at least it does for me).
You can also fetch it from the CVS

Gerald


> remove or change an part (e.g. remove one of the innermost tables)
> then it works fine. But, for me, it runs away and fills up memory
> rapidly.
>
> The xxxx and yyyy subs are in a file of subs named Directory.epl,
> which is executed from base.epl. The routines are called from
> /directory/index.html. There is Directory.epl in the base dir, and
> Directory.epl in the /directory dir. There is only one version of xxxx
> and yyyy, both in /directory/Directory.epl.
>
> [$ sub yyyy $]
>
>    [- ($self) = @_; -]
>
> [$ endsub $]
>
> [$ sub xxxx $]
>
>    [- ($self) = @_; -]
>
>    <TABLE>
>
>    <TR>
>       <TD>
> <TABLE>
>     <TR>
>        <TD>
>   [- $x = 1; -]
>   [$ while $x < 10 $]
>     [+ $x +]
>     [- $x += 1; -]
>   [$ endwhile $]
>        </TD>
>     </TR>
> </TABLE>
>       </TD>
>
>       <TD>
> <TABLE>
>     <TR>
>        <TD>
>            <TABLE>
> [- $self->yyyy(); -]
>    </TABLE>
>        </TD>
>     </TR>
>          </TABLE>
>       </TD>
>
>    </TR>
>    </TABLE>
>
> [$ endsub $]
>
> The problem certainly seems to be related to embedded tables. Anyway,
> let me know if this setup causes a runaway on your system, if not then
> I'll try and nail it down to a simpler case.
>
> Thanks,
>
> -Neil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org

--------------------------------------------------------------
Gerald Richter     ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
--------------------------------------------------------------
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-------------------------------------------------------------

Mime
View raw message