RE: weird problem with arrays

2000-05-15 Thread Gerald Richter
> > ok, it is my'ed. > Look's like you are running into a closure problem (see man perlfaq7), try to without the my Gerald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: weird problem with arrays

2000-05-15 Thread Andre Landwehr
On Mon, May 15, 2000 at 08:54:26PM +0200, Gerald Richter wrote: > > my @starter; > > ... since @starter is global ... > > is it glocbal or local (my'ed) ? ok, it is my'ed. > > > > The Embperl version is 1.3b2, modperl 1.21, Apache 1.3.9 > > The error occurs on Linux (Debian), Linux (Mandrake w

RE: weird problem with arrays

2000-05-15 Thread Gerald Richter
> my @starter; > ... since @starter is global ... is it glocbal or local (my'ed) ? > > The Embperl version is 1.3b2, modperl 1.21, Apache 1.3.9 > The error occurs on Linux (Debian), Linux (Mandrake with > self build Apache etc.) and on HP-UX > Same question as in my last mail, is mod_perl build

Re: weird problem with arrays

2000-05-15 Thread Erich L. Markert
Not knowing all of your code... The reason I suggested the indexing was because their might be some dependency upon $starter[0]. One other thing to look at is the possibility of "my starter;" messing things up. I found that "my" can sometimes cause problems with Embperl. Andre Landwehr wrote:

Re: weird problem with arrays

2000-05-15 Thread Erich L. Markert
Hmmm... Wouldn't have anything to do with the fact that you're array assignment is to index 1 and not 0? Try: my @starter = (); $starter[0] = $fdat{'starter1'}; ... Andre Landwehr wrote: > > hi, > I'm not sure if Embperl has anything to do with this or if it is > Perl here (or just my own du

weird problem with arrays

2000-05-15 Thread Andre Landwehr
hi, I'm not sure if Embperl has anything to do with this or if it is Perl here (or just my own dumbness again as for that...): I pass several values to a page, called starter1, starter2, starter3 main_course1, main_course2, main_course3 dessert1, dessert2, dessert3 For easier processing later in