perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allen haim <al...@netherrealm.net>
Subject Re: cgi-bin & %udat
Date Thu, 10 Mar 2005 22:23:22 GMT
Hi,

I can wait for the release -- it's not that urgent. 

But I don't understand: in order to call Embperl::Req::SetupSession, I need
run gbrowse under Embperl, right? So what are the steps to make this
ordinary cgi script run under Embperl, so that I don't have to modify the
script at all?

Or do I continue to run it as an Apache::Registry script, and call
SetupSession some other way?

Allen

On Thu, Mar 10, 2005 at 02:56:58PM +0100, Gerald Richter wrote:
> > Here is what I would like to do:
> > 
> > There is a script called 'gbrowse', which I didn't write, but 
> > which I need to call from within my embperl application. This 
> > script works by printing to STDOUT. 
> > 
> > So why not just keep it in my Apache::Registry directory and 
> > call it like an ordinary mod perl script? The reason is that 
> > gbrowse will use a library which I _did_ write, called Plugin.pm.
> > 
> > Now, I would like Plugin.pm to have access to %udat. 
> > 
> 
> You need to call SetupSession (see session handling in the docs) from your
> Plugin.pm.
> 
> Unfortunately you need Embperl 2.0rc3 for this to work, which will be
> release during the next days. If you like I can send you a copy by private
> email or you can fetch it from the CVS
> 
> Gerald
> 

-- 


The more stupid of the old peasants came to the pasture to wag their tongues
with him; village women ran to him to recover from their men's fits of
craziness, and they were never angry with Sashka for his love or his
disease.

-isaac babel

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message