Re: Foreach problem

2000-08-26 Thread Gerald Richter
> > [Sat Aug 26 11:09:47 2000] [error] [831]ERR: 38: Line 33: Too few arguments > [Sat Aug 26 11:09:47 2000] [error] [831]ERR: 46: Line 33: Unclosed command [$ foreach $] at end of file > > Line 33 is the start of the foreach loop. > > It only happens sometimes, and I really don't know why. > >

Foreach problem

2000-08-26 Thread Kaare Rasmussen
I have another problem with Embperl This construct: [$ foreach $prod @product $] [$ if ($prod->{name}) $] [+ $prod->{name}.'.value*'.$prod->{price}.' +' +] [$ endif $] [$ endforeach $] gives me this error: [Sat Aug 26 11:09:47 2000] [error] [831]ERR: 38: Line 33: Too few arguments [Sat A