Re: Nested Interpolation

2006-03-31 Thread Tomas Zerolo
On Fri, Mar 31, 2006 at 05:41:32AM -0800, Steve Thames wrote: > Consider this: > > my %names = (Bob => 'Robert Brower'); > my $caption = 'Name: $names{Bob)'; > print eval "qq|$caption|"; [...] > Does anyone have any idea how to capture the syntax error in a case > like this? Y

Database transaction across multiple web requests

2006-03-31 Thread Tomas Zerolo
Howdy, this is not strictly a modperl question, but I'm sure some of you are downright experts on this. We have a modperl2 applicattion with a database backend (PostgreSQL, DBI). For session management we use Apache::Session. Now the need has arisen to serve requests yielding many records as ans

Re: ld.so: Undefined symbol "_perl_get_sv"

2006-02-01 Thread Tomas Zerolo
On Wed, Feb 01, 2006 at 07:42:23PM +1300, Derek Robson wrote: > > > I cant find a libperl.so on my system at all. > > % find / -name "libperl.so" > % Maybe try find / -name "libperl.so*"? Usually there is a version suffix like libperl.so.5.8 or somesuch. I'm not an Openbsd guru, but maybe ldd

Re: Several versions of a modperl handler in a server instance

2006-01-26 Thread Tomas Zerolo
On Thu, Jan 26, 2006 at 02:15:56PM +0100, Tom Schindl wrote: [...] > http://perl.apache.org/docs/2.0/user/config/config.html#C_Parent_ > > is more appropriate for this problem ;-) Just to get that into the archives. Right, thanks. But with your original pointer it was easy to find out that. Thank

Re: Several versions of a modperl handler in a server instance

2006-01-26 Thread Tomas Zerolo
On Thu, Jan 26, 2006 at 11:27:44AM +0100, Tom Schindl wrote: [...] > In mp2: > - use different VHost with different Inc-paths > http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlOptions_ Wow. My imagination was too small to come up with that. Thanks a bucket! -- tomas signature.asc

Several versions of a modperl handler in a server instance

2006-01-26 Thread Tomas Zerolo
Hi, list here's a general question which I'm sure has been addressed before. I've got a modperl2 handler within a module Foo. This module uses a whole hierarchy of helpers, like Foo::Bar, and so on (which live in a corresponding dir structure Foo/Bar and so on). Now I would like to have several