You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Sr...@bankone.com on 2004/04/15 16:21:24 UTC

what's wrong with this code

Hi,
I am getting the [1122538]ERR:  9999:  Error (no description) Unstrutured forward jump 
error without any other information with the following code. displayContents is a method. 

<table border="0" width="100%">
[* for (my $i = 0; $i < $length; $i++) { *]
    <tr>
        <td>
            [- displayContents($i) -]
        </td>
        <td>
            [- displayContents($i+$length) -]
        </td>
        <td>
            [- displayContents($i+(2*$length)) -]
        </td>
    </tr>
[* } *]
</table>

If I remove the table tags and put it this way, it is working fine without any errors. So whats wrong with the above case.

[* for (my $i = 0; $i < $length; $i++) { *]
            [- displayContents($i) -]
            [- displayContents($i+$length) -]
            [- displayContents($i+(2*$length)) -]
[* } *]


Thanks,
Sreeram


**********************************************************************
This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you
**********************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: what's wrong with this code

Posted by Gerald Richter <ri...@ecos.de>.
Sreeram_Bazaru@bankone.com wrote:
> Hi,
> I am getting the [1122538]ERR:  9999:  Error (no description)
> Unstrutured forward jump

This error means that something is wrong with the nesting of your tables and
perl code. The example you send looks ok, but the problem might by inside of
displayContent. If you replace displayContent with [+ $i +] or something
similar, does the error still occur?

Gerald


> error without any other information with the following code.
> displayContents is a method.
>
> <table border="0" width="100%">
> [* for (my $i = 0; $i < $length; $i++) { *]
>     <tr>
>         <td>
>             [- displayContents($i) -]
>         </td>
>         <td>
>             [- displayContents($i+$length) -]
>         </td>
>         <td>
>             [- displayContents($i+(2*$length)) -]
>         </td>
>     </tr>
> [* } *]
> </table>
>
> If I remove the table tags and put it this way, it is working fine
> without any errors. So whats wrong with the above case.
>
> [* for (my $i = 0; $i < $length; $i++) { *]
>             [- displayContents($i) -]
>             [- displayContents($i+$length) -]
>             [- displayContents($i+(2*$length)) -]
> [* } *]
>
>
> Thanks,
> Sreeram
>
>
> **********************************************************************
> This transmission may contain information that is privileged,
> confidential and/or exempt from disclosure under applicable law. If
> you are not the intended recipient, you are hereby notified that any
> disclosure, copying, distribution, or use of the information
> contained herein (including any reliance thereon) is STRICTLY
> PROHIBITED. If you received this transmission in error, please
> immediately contact the sender and destroy the material in its
> entirety, whether in electronic or hard copy format. Thank you
> **********************************************************************
>
>
> ---------------------------------------------------------------------
> 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 * Webapplikationen mit Apache/Perl/mod_perl/Embperl

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
---------------------------------------------------------------------------
Besuchen Sie uns auf der KOMCOM 2004 in Mannheim
25. bis 27. Mai 2004  Stand K11a   www.komcom.de

ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org