> How does FOREACH and Tables interact.
>
> I want to use FOREACH with 2 tables inside the loops.
>
> The Table without $row works
> The second table in the look with $row only runs one time.
>
You can nest FOREACH and dynamic tables as often as you like.
I can't tell you more without an exampl
>
> 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
Hi,
I know this question does not belong here, but, I am getting desperate.
Does anyone know how to write PostgreSQL native functions in perl or where
to find some information on the topic?
regards,
ragnar
-
To unsubscribe, e
On Mon, May 15, 2000 at 03:52:57PM +0200, Gerald Richter wrote:
> > Since I did use similar constructions many times before
> > without any problems it is also very possible that I just don't
> > see the obvious here, so could somebody please give me a hint?
After further tests it seems no longer
Hi,
> I have a page with several fields on it and try to evaluate
> these fields on another page with %fdat (they are passed via
> post method). On that other page I use an "Execute" statement
> before I use %fdat. In most cases I get correct data, but
> sometimes %fdat contains data from previous
Hi,
I have a page with several fields on it and try to evaluate
these fields on another page with %fdat (they are passed via
post method). On that other page I use an "Execute" statement
before I use %fdat. In most cases I get correct data, but
sometimes %fdat contains data from previous requests
>
> In general, it would be nice if there was a place where developers could
> share Embperl code. Maybe there is, and I don't know about it ??
>
I don't know of any, but I would like to install one. I could put the stuff
on our ftp server, but there need to be written an README, a webpage etc.
a
I'm considering writing a makeForm function for easy generation of
forms. Input should be some kind of metadata about the fields, rows and
columns in the form. Output should be a working, usable form.
Now, did anyone do something like this before? Surely there must be
several attempt to write a c
13 matches
Mail list logo