Re: Modular web sites - is this possible? (was Re: Modular web site not behaving as expected.)

2001-11-15 Thread Gerald Richter
I think I got now what you want... > > Do you still think this is possible? > It's possible, but not easy to do in a common and abstract way on the other side it's not hard to do it for a concret problem, like Andrew said. I will think about this and maybe come up with an idea, but at the momen

Re: SQLx::Recordset and DBD::CSV -- odd delete behavior

2001-11-15 Thread Gerald Richter
> > >in function QueryMetaData, around line 241. It would be necessary to set the > >hash %Numeric accordingly. If it's important for you, maybe you can make a > >patch. I am happy to include it > > I'll take a look at it. For now I'm happy with my work-around, and I > tend to use CSV for prototy

Re: Sessions inconsistent

2001-11-15 Thread Gerald Richter
> > > 1.) PerlModule HTML::Embperl > > > > > For 1., put the PerlSetEnv with the session vars, before the PerlModule > > statment in your httpd.conf > > I have finally managed to get session management working; I used to have > the EMBPERL_SESSION_CLASSES and EMBPERL_SESSION_ARGS in my session

Re: SQLx::Recordset and DBD::CSV -- odd delete behavior

2001-11-15 Thread Kee Hinckley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 At 9:41 PM +0100 11/15/01, Gerald Richter wrote: > > I have no idea whatsoever why it's a real. I gave up debugging (it >> gets real messy around the interface the C code) > >I can imagine this... At this point I suspect some questionable looking c

Re: Sessions inconsistent

2001-11-15 Thread steve . fawcett1
Gerald Perfect solution once again! Many Thanks Steve > Steve, > > the problem here is, that Apache::Session only stores the data to the > database if it is modified, but Apache::Session only recognizes > modifications on the first level. That means your first push works, because > the array

Re: Modular web sites - is this possible? (was Re: Modular web site not behaving as expected.)

2001-11-15 Thread Andrew O'Brien
On Thu, Nov 15, 2001 at 03:05:24PM -0800, Scott Chapman wrote: To summarise your summary: You want Embperl to implement an Execution state machine for you. I've just implemented a largish, completely forms based site using just that code snippet I posted earlier for progression. There were a fe

Re: Sessions inconsistent

2001-11-15 Thread David Lloyd
Gerald! > 1.) PerlModule HTML::Embperl > For 1., put the PerlSetEnv with the session vars, before the PerlModule > statment in your httpd.conf I have finally managed to get session management working; I used to have the EMBPERL_SESSION_CLASSES and EMBPERL_SESSION_ARGS in my without using a

Re: Modular web sites - is this possible? (was Re: Modular web site not behaving as expected.)

2001-11-15 Thread Scott Chapman
On 15 Nov 2001, at 21:26, Gerald Richter wrote: > There are many nice ideas (and I have a lot of them too), but it takes also > a lot of time to implementing them and as long as nobody pays me for that > (which is fortunately sometimes the case :-), I have to do things that I > need for my projec

oops - a better email address conversion script...

2001-11-15 Thread Neil Gunton
Gerald, Of course, I should have waited a bit before sending that script off... Here's a better version. It strips out the mailto: link completely. Let me know if does anything stupid... #!/usr/bin/perl -w while () { s/\(.*?)@(.*?)\<\/A\>/$1 at $2/g; print $_; } (This'll all probably

Re: Sessions inconsistent

2001-11-15 Thread Gerald Richter
Steve, the problem here is, that Apache::Session only stores the data to the database if it is modified, but Apache::Session only recognizes modifications on the first level. That means your first push works, because the array is created, the second push doesn't work because only the array is cha

Re: Result of SPAMMODE (was: Question regarding hiding email addresses in archives)

2001-11-15 Thread Neil Gunton
Gerald Richter wrote: > I have given this a try, now > > [EMAIL PROTECTED] > > becomes > > richter at eocs dot de > > and the mail addresses aren't links anymore. > > look at http://www.ecos.de/~mailarc/embperl/2001-11/msg00089.html. > > Does it look better ? Yeah, to me at least. T

Re: SQLx::Recordset and DBD::CSV -- odd delete behavior

2001-11-15 Thread Gerald Richter
> > If I put debug statements in SQL::Statement (the C code) I find that > the column is a string "85" DBIx::Recordset passes it always as string to DBI >and the parameter is sometimes an > integer (works) and sometimes a real (doesn't). > strange... > I have no idea whatsoever why it's a

Re: dbix and raw sql output?

2001-11-15 Thread Gerald Richter
Hello, > How does one do a select count(*) using dbix? $set -> Search ({'$fields' => 'count(*) as cnt'}) ; $count = $set{'cnt'} ; You can also use the !Fields instead of '$fields' when you give it at object setup time Gerald - Geral

Re: Result of SPAMMODE (was: Question regarding hiding email addresses in archives)

2001-11-15 Thread Gerald Richter
> > First of all, thanks for looking at this stuff, I know you're really > busy. I think that a more aesthetic solution may be in the use of the > ADDRESSMODIFYCODE directive. This seems to allow something other than > simply replacing the host part of the email address with 'x': > I have given t

Re: Modular web sites - is this possible? (was Re: Modular web site not behaving as expected.)

2001-11-15 Thread Gerald Richter
Hi, > > I've been giving a lot of thought to the idea of modular web pages > and "exit" functionality is not nearly as nice as what I think you > could build into embperl. > There are many nice ideas (and I have a lot of them too), but it takes also a lot of time to implementing them and as long

Re: Modular web sites - is this possible? (was Re: Modular web site not behaving as expected.)

2001-11-15 Thread Scott Chapman
Wim, It may be possible with more complex coding but the idea is transparent abstraction layer here to make things behave just like calling a regular subroutine with a return statement at the end. I'm hoping to hear from Gerald on the possibility of implementing this into Embperl. It would

Re: Modular web sites - is this possible? (was Re: Modular web site not behaving as expected.)

2001-11-15 Thread Wim Kerkhoff
Hi Scott, I think I understand your point better now. I'm still convinced that it is possible to do what you have described using EmbperlObject. Wim Scott Chapman wrote: > > Wim, > I think you missed the point of our discussion. This isn't about > authentication at all. It's about modular sit