Re: PerlModule hell - questions and comments

2002-03-22 Thread Kee Hinckley
At 5:11 PM -0500 3/22/02, Perrin Harkins wrote: >In your case, PerlFreshRestart might help with what you're trying to >do since it will clear %INC, but you may still have the problem with >needing to call Init. PerlFreshRestart will reload the module and thus call Init, but PerlFreshRestart is

Re: Libraries that work under Embperl and HTML::Embperl

2002-03-22 Thread Kee Hinckley
At 3:10 PM -0500 3/22/02, Kee Hinckley wrote: >With that in mind I wrote the following module, Embperlx::Util.pm. >This lets you access all the standard special variables without >worrying about which module called you. Let me know if you find it >useful, or have any problems Note. This modu

Re: PerlModule hell - questions and comments

2002-03-22 Thread Kee Hinckley
At 5:11 PM -0500 3/22/02, Perrin Harkins wrote: >Kee Hinckley wrote: >>At Embperl 2.0b6 Gerald switched to a new architecture. The >>previous version was just a plain Perl module loaded as a handler >>by mod_perl. This version is also an Apache module. > >Okay, if it's only in the recent betas

Re: PerlModule hell - questions and comments

2002-03-22 Thread Kee Hinckley
At 4:18 PM -0500 3/22/02, Perrin Harkins wrote: >Modules loaded with PerlModule and PerlRequire are not supposed to >be loaded again the second time. I seem to remember that they are >loaded again when using DSO though, so if you're using DSO you may >want to recompile as static. Also, if you

Re: Holiday :-)

2002-03-22 Thread ___cliff rayman___
good for you!! you deserve some time off. i think embperl has the best tech support of any software product, open source or commercial. definitive answers and bug fixes happen very quickly. enjoy the time away. Gerald Richter wrote: > I am leaving tomorrow evening (in about 36h) for two weeks

Libraries that work under Embperl and HTML::Embperl

2002-03-22 Thread Kee Hinckley
I'm using Embperl for my development machine, but HTML::Embperl for production (and pre-release testing of course). It'll be that way for a while, and in the meantime I have libraries that need to work regardless of which environment that are running. With that in mind I wrote the following m

Re: Errors enabling Embperl 2.0b6

2002-03-22 Thread Gerald Richter
> > Do you have a startup.pl, or anything else that would cause mod_perl > to run code during initialization? I suspect that's all it takes. > Yes, a startup.pl > > Well, that makes me feel a bit better. This was getting so weird > that there was always this feeling in the back of my min

Re: Embperl::Execute() segfaults

2002-03-22 Thread Gerald Richter
> When I call Embperl::Execute() instead of just Execute() it segfaults. I need > this, because I was trying to call this from a module that I 'require' in > base.epl. But even when I do this in base.epl itself Execute() works, but > Embperl::Execute() segfaults!? > Execute is an alias to Embper

PerlModule hell - questions and comments

2002-03-22 Thread Kee Hinckley
I'm posting this to the modperl list as well as embperl in hope that someone there can answer some questions. I've been trying to get the latest Embperl beta working on MacOS X (although apparently the problems I'm experience occur on some other operating systems as well). Embperl 2.0b7, Apac

Storing and displaying multi-language text

2002-03-22 Thread Kee Hinckley
If I have a form that is being used to enter text which I store in a database and retrieve, what's the right way to a) record the language on submission and b) make sure it is displayed correctly when I present it later? Keep in mind that the language of the containing page hasn't changed, ju

Re: Errors enabling Embperl 2.0b6

2002-03-22 Thread Kee Hinckley
At 8:02 AM +0100 3/22/02, Gerald Richter wrote: > > I have to have a >> >> >> block in the config file. >> > >Mmh, I never had a need to do this... Do you have a startup.pl, or anything else that would cause mod_perl to run code during initialization? I suspect that's all it takes. > >>

Re: Wrong error code

2002-03-22 Thread Jochen Topf
On Thu, Mar 21, 2002 at 07:37:29PM +0100, Gerald Richter wrote: > From: "Gerald Richter" <[EMAIL PROTECTED]> > To: "Jochen Topf" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Subject: Re: Wrong error code > Date: Thu, 21 Mar 2002 19:37:29 +0100 > > > > > > > That is is intented behaviour. The f

Embperl::Execute() segfaults

2002-03-22 Thread Jochen Topf
When I call Embperl::Execute() instead of just Execute() it segfaults. I need this, because I was trying to call this from a module that I 'require' in base.epl. But even when I do this in base.epl itself Execute() works, but Embperl::Execute() segfaults!? Jochen -- Jochen Topf [EMAIL PROTECTED