Return-Path: Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 39046 invoked by uid 500); 22 Aug 2002 15:22:09 -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 39017 invoked from network); 22 Aug 2002 15:22:08 -0000 Date: Thu, 22 Aug 2002 17:22:09 +0200 From: Andre Landwehr To: Embperl List Subject: 2.0b8 Embperl::Object problem Message-ID: <20020822152209.GJ1783@twintower> Reply-To: andre.landwehr@gmx.net Mail-Followup-To: Andre Landwehr , Embperl List Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="82evfD9Ogz2JrdWZ" Content-Disposition: inline User-Agent: Mutt/1.4i X-Operating-System: Linux twintower 2.4.19 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --82evfD9Ogz2JrdWZ Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi again, Embperl files run quite ok on my 2.0b8 installation now, but Embperl::Object does strange things which I hunted the whole day, but I don't come closer... I have an object base file _base.epo which looks like this: [- $req =3D shift; -] [- Execute ({inputfile =3D> '_htmlheader.epo', package =3D> __PACKAGE__}); = -] [- Execute ({inputfile =3D> '*', package =3D> __PACKAGE__}); -] [- Execute ({inputfile =3D> '_htmlfooter.epo', package =3D> __PACKAGE__}); = -] If the _htmlheader.epo file contains only html just header and footer are displayed, '*' is ignored completely (I can repair that by just saying Execute ('*'), but I want to have it in __PACKAGE__).=20 If _htmlheader.epo contains [- print OUT "something"; -] it gets even worse. The output looks like first the print statement is executed, then the http headers are sent and then then _htmlheader.epo and _htmlfooter.epo. My configuration looks like this: AddType text/html;charset=3DISO-8859-1 .epo PerlWarn On PerlModule MD5 PerlModule Embperl PerlModule Apache::DBI EMBPERL_ESCMODE 0 EMBPERL_SESSION_CLASSES "File Semaphore" EMBPERL_SESSION_ARGS "Directory=3D/tmp" EMBPERL_COOKIE_PATH "/" EMBPERL_APPNAME myapp EMBPERL_OPTIONS 16388 EMBPERL_OBJECT_BASE _base.epo EMBPERL_OBJECT_STOPDIR /var/www EMBPERL_OBJECT_ADDPATH :/var/www/components: SetHandler perl-script PerlHandler Embperl::Object Options ExecCGI I think it has to do with my configuration because the same pages worked without problems under 1.3.x, but I run out of ideas... Andre -- "The inside of a computer is as dumb as hell, but it goes like mad!" (Physicist Richard Feynman) --82evfD9Ogz2JrdWZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9ZQGhC3ZlGS1b0mMRAqfPAKDI9qooEHl0uEZgIOZA35eL8Vn4zwCg1hCX F15nyhTRwDIqLBihk8bd3Ag= =iPH9 -----END PGP SIGNATURE----- --82evfD9Ogz2JrdWZ--