You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Knut Behrends <kn...@gfz-potsdam.de> on 2003/07/03 14:12:31 UTC

is now supported in 2.0b9?

... I think this is important because porting html pages with emberl code 
from a 1.3.3 site to a 2.0b3 site can be tedious if you have to add [$ if 
$row == 1 $] ... blocks to a lot of pages.

best regards ,
Knut Behrends


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


Re: is now supported in 2.0b9?

Posted by Gerald Richter <ri...@ecos.de>.

> ... I think this is important because porting html pages with emberl code
> from a 1.3.3 site to a 2.0b3 site can be tedious if you have to add [$ if
> $row == 1 $] ... blocks to a lot of pages.
>

No, sorry TH isn't supported in 2.0b9. As far as I see my free time, it will
not be supported in the final 2.0. That's because the way I like to change
the table handling (and support TH) is a lot of work, that will go into 2.1

Gerald


--------------------------------------------------------------
Gerald Richter     ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
--------------------------------------------------------------
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-------------------------------------------------------------


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


Re: Disable Debug Output

Posted by Angus Lees <gu...@inodes.org>.
At Fri, 4 Jul 2003 09:52:07 +0200, Gerald Richter wrote:
> EMBPERL_DEBUG 0

speaking of which, can this be the default please?

i was quite surprised to find my embpexec.pl commands writing to
/tmp/embperl.log without being asked..

-- 
 - Gus

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


Re: Disable Debug Output

Posted by Gerald Richter <ri...@ecos.de>.
> PerlSetEnv EMBPERL_DEBUG 0

Embperl 2 doesn't use environment variables by default anymore. Either set 

Embperl_UseEnv on

or better just remove the PerlSetEnv e.g.

EMBPERL_DEBUG 0

Gerald



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


Disable Debug Output

Posted by "Cameron B. Prince" <cp...@rideware.com>.
Hi,

I'm trying to increase the performance of my Embperl site... Below are the
relevant lines from my httpd.conf file. I have debug set to 0 and log set to
/dev/null before embperl is loaded, but for some reason, I still get data in
/tmp/embperl.log.

I am running RH9 with Embperl-2.0b9. Can you tell me how to disable this
debugging?

The debug file contains lines like:

[1992]PERF: Run Time:       0 ms
[1992]PERF: DOMSTAT: MemUsage = 1023072 Bytes  numNodes = 14001
numLevelLookup = 92  numLevelLookupItem = 12651  numStr = 5467  numReplace =
5333
[1992]PERF: Run Start Time: 160 ms
[1992]PERF: Run End Time:   1610 ms
[1992]PERF: Run Time:       1450 ms
[1992]PERF: DOMSTAT: MemUsage = 1022992 Bytes  numNodes = 14004
numLevelLookup = 92  numLevelLookupItem = 12651  numStr = 5467  numReplace =
5333
[1992]PERF: input = ???
[1992]PERF: Time: 2030 ms
[1992]Request finished. Thu Jul  3 20:25:39 2003

Thanks,
Cameron


LoadModule perl_module modules/mod_perl.so

# This will allow execution of mod_perl to compile your scripts to
# subroutines which it will execute directly, avoiding the costly
# compile process for most requests.
#

Alias /perl /var/www/perl

<Directory /var/www/perl>
    SetHandler perl-script
    PerlHandler ModPerl::Registry::handler
    PerlOptions +ParseHeaders
    Options +ExecCGI
</Directory>

AddType text/html .epl

<Files *.epl>
SetHandler  perl-script
PerlHandler Embperl
Options     ExecCGI
</files>

PerlSetEnv EMBPERL_ESCMODE 0
PerlSetEnv EMBPERL_OPTIONS 16
PerlSetEnv EMBPERL_MAILHOST localhost
PerlSetEnv EMBPERL_OBJECT_BASE base.epl
PerlSetEnv EMBPERL_OBJECT_FALLBACK notfound.html
PerlSetEnv EMBPERL_DEBUG 0
PerlSetEnv EMBPERL_LOG /dev/null

PerlModule Embperl

<Directory "/var/www/html/emb/pages">

 <FilesMatch ".*\.html$">
 SetHandler perl-script
 PerlHandler Embperl::Object
 Options ExecCGI
 </FilesMatch>

 <FilesMatch ".*\.epl$">
 Order allow,deny
 Deny From all
 </FilesMatch>

</Directory>


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