>
> 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]
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
> 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
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:
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
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