Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 26916 invoked from network); 11 Mar 2005 05:10:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Mar 2005 05:10:50 -0000 Received: (qmail 69365 invoked by uid 500); 11 Mar 2005 05:10:50 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 69102 invoked by uid 500); 11 Mar 2005 05:10:48 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 69086 invoked by uid 99); 11 Mar 2005 05:10:48 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from c10.shuttle.de (HELO saturn.ecos.de) (194.95.226.10) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 10 Mar 2005 21:10:46 -0800 Received: from lnx1.i.ecos.de (unknown [194.95.226.11]) by saturn.ecos.de (Postfix) with ESMTP id 0A206D893D; Fri, 11 Mar 2005 06:10:43 +0100 (MET) Received: from wingr2 (unknown [10.11.12.250]) by lnx1.i.ecos.de (Postfix) with ESMTP id D64881FD350; Fri, 11 Mar 2005 06:10:42 +0100 (CET) From: "Gerald Richter" To: "'allen haim'" , Subject: RE: cgi-bin & %udat Date: Fri, 11 Mar 2005 06:10:25 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Thread-Index: AcUlwD5aGxXqj6UTSVSCwYVk9cOT5wAN+4OA In-Reply-To: <20050310222322.GA32432@netherrealm.net> Message-Id: <20050311051042.D64881FD350@lnx1.i.ecos.de> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > Or do I continue to run it as an Apache::Registry script, and > call SetupSession some other way? > Yes, you continue with Apache::Registry and use SetupSession to get the session data (and CleanupSession to close it). The other possibility would be to run gbroswe under Embperl (with EMBPERL_SYNTAX Perl), that %udat will be available anyway, but in case parameter are POSTed to that script they are already read in by Embperl. You might need to disable this in EMBPERL_OPTIONS. Gerald > 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org