Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 42201 invoked from network); 2 Dec 2004 05:14:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Dec 2004 05:14:17 -0000 Received: (qmail 24046 invoked by uid 500); 2 Dec 2004 05:14:16 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 24028 invoked by uid 500); 2 Dec 2004 05:14:16 -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 24012 invoked by uid 99); 2 Dec 2004 05:14:16 -0000 X-ASF-Spam-Status: No, hits=0.0 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; Wed, 01 Dec 2004 21:14:14 -0800 Received: from lnx1.i.ecos.de (unknown [194.95.226.11]) by saturn.ecos.de (Postfix) with ESMTP id 7FC3CD88F4; Thu, 2 Dec 2004 06:13:26 +0100 (MET) Received: from wingr2 (unknown [10.11.12.250]) by lnx1.i.ecos.de (Postfix) with ESMTP id 9E1E011DD83; Thu, 2 Dec 2004 06:14:11 +0100 (CET) From: "Gerald Richter" To: "'RobertCZ'" , Subject: RE: Stupid Execute problem Date: Thu, 2 Dec 2004 06:14:10 +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: AcTWWIIEBwH2mWV7SRuKpamrpAlH9wB1NtHw In-Reply-To: <41AB9140.8090200@robert.cz> Message-Id: <20041202051411.9E1E011DD83@lnx1.i.ecos.de> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > > > >>> I'm trying simple > >>> [- Execute('_ref.eo') -] > >> > >> > >> > >> In Embperl 2 you have to add a ';' in every statement in a > [--] block > >> and you have to omit it it [++] blocks. > > Normaly [- -] should also work without ; ([* *] blocks requires the ;). > > And just for the archives: the problem is also my favorite > trick with package > > [- Execute({ inputfile => '*', package => __PACKAGE__ }) -] > > then Execute and pieces of code mysteriously stop working... > it's probably not recomended hack anymore ;-) > Basicly it should still work, but depending on what you try to do it might bring you (or Embperl) into trouble. Escpecialy when you call such a page from multiple points, because all calling pages sits in a different namespace and you try to get the called page in all of these namespaces. Gerald --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org