[Petal] [BUG] repeat/end / __is_last__ not being set correctly

Mark Holland mark at thinkfoo.com
Mon Oct 27 15:21:52 GMT 2003


Hi,

I discovered a problem with the latest release of petal that repeat/end 
isn't being set correctly. I changed the line which sets $end and it 
seems to have fixed the problem (see attached diff).

Cheers,
m
-------------- next part --------------
398c398
<     $class->add_code ("my \$end    = (\$i == \$#array);");
---
>     $class->add_code ("my \$end    = (\$i == \@array);");


More information about the Petal mailing list