Re: FOREACH and TABLES

2000-05-15 Thread Gerald Richter
> 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

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

perl for Postgres

2000-05-15 Thread Ragnar Hakonarson
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

Re: different Apache child?

2000-05-15 Thread Andre Landwehr
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

RE: different Apache child?

2000-05-15 Thread Gerald Richter
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

different Apache child?

2000-05-15 Thread Andre Landwehr
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

RE: makeForm

2000-05-15 Thread Gerald Richter
> > 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

makeForm

2000-05-15 Thread Kaare Rasmussen
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