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 the page the first thing I do is
to throw them into arrays:
my @starter;
$starter[1] = $fdat{starter1};
$starter[2] = $fdat{starter2};
...

Then I call a sub, which is below on the same page:
updatedatabase();

And now I undef my arrays:
undef @starter; 

In the sub I want to put $starter[1] et al. into a database, but
every tenth or so call of the page they are undefined! If I do
not write the undef's earlier, for the same amount of calls to the
page suddenly the arrays contain old values, entered several
minutes ago. 
I cannot see how this is possible since @starter is global and
should still hold the value passed to it earlier from %fdat. 
%fdat contains the correct value.

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

Any suggestions?

Andre

PGP signature

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to