Re: magic for variables to link with the C vars where perl is embedded into

2002-05-15 Thread Gerald Richter
Hi, this seems not the best list for this sort of questions, it's a list about Embperl. Anyway a short answer: Yes, you have to set the magic on all elements of hash/array. There is no simple way to do it (at least not in 5.6.1) to get your C code called directly. There is some way to have

Re: DBIx::Recordset $values parameter not behaving as expected.

2002-05-15 Thread Gerald Richter
> > > > $db{'$where'} = 'ar_id = ?'; > > $db{'$values'} = ["$req->{review_num}"]; > > > > # If user is a member of acctmgr group, don't show them Status_Viewed records. > > if ($group_file->ismember($req->{user},'acctmgr')) { > > $db{'$where'} = $db{'$where'} . ' AND eventcod

Re: Embperl 1.x question

2002-05-15 Thread Gerald Richter
Hi, Luiz had already pointed out how to solve the problem with Embperl::Object, I just want to add a few annotations > > Here's the initialization code: > > use lib "$ENV{DOCUMENT_ROOT}/data/"; > use lib "$ENV{DOCUMENT_ROOT}/data/SWC"; > use SWC::Calendar; > use SWC::Commons

Re: Possible 2.0b7 issues OR Setup help

2002-05-15 Thread Gerald Richter
> > > > I put this "optEnableChdir" on the TODO list > > One problem with the current "no-chdir" behaviour is: when I use > use Customer::Utils; > in my Perl code and have the "Customer" directory in the same directory > where the script is, it does not work anymore. > Yes, that's true > So I ha

Re: 2.0b7: 9999: Error (no description) Unstrutured backward jump

2002-05-15 Thread Gerald Richter
Hi, > > using the following code produces a "document contains no data" and an > error in the logfile: > : Error (no description) Unstrutured backward jump > That means that there is some mismatch in nesting (Ok, I should make the message more verbose) > > > > [$ foreach $produkt (1,2,3) $

Re: Embperl 1.x question

2002-05-15 Thread Luiz Fernando B. Ribeiro
Hi Kee, Resposta a sua mensagem de terça-feira, 14 de maio de 2002: I think that your questions are common to many Embperl developers, personally I solved this this way: - I use EmbperlObject: so you I can build my pages "smarter", and reuse UI components over many projects. - All the initia

RE: Query relating to Apache::ASP

2002-05-15 Thread pcross
You might also try ChiliSoft to see what they can do to help you. They have a product that allows ASP code to run under apache. I think there is one other company that does something similar though the name escapes me.     -Original Message- From: Ranjeet [mailto:[EMAIL PROTECTE

Re: Random crashes

2002-05-15 Thread Jochen Topf
Hi! I have no idea... Jochen On Tue, May 14, 2002 at 04:01:07PM +0200, Gerald Richter - ecos gmbh wrote: > From: "Gerald Richter - ecos gmbh" <[EMAIL PROTECTED]> > To: "Jochen Topf" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> > Subject: Re: Random crashes > Date: Tue, 14 May 2002 16:01:07 +0200 >

2.0b7: 9999: Error (no description) Unstrutured backward jump

2002-05-15 Thread Dirk Melchers
Hi, using the following code produces a "document contains no data" and an error in the logfile: : Error (no description) Unstrutured backward jump The code works under the olf HTML::Embperl The "real" code is of course more complicated, it contains two SQL-querys, one replacing the "for

Re: Possible 2.0b7 issues OR Setup help

2002-05-15 Thread Dirk Melchers
Gerald Richter wrote: >>Understandable -- as this is how I found the optDisableChdir -- looking >>to turn this function off to increase performance. For functionality >>however -- could I suggest that you provide some means to 'enable' >>this? I agree it should be off by default, but it could b