Re: Problems with session handling

2003-03-25 Thread Gerald Richter
> Where should I write this ? > in your httpd.conf, instead of PerlSetEnv EMBPERL_COOKIE_PATH / Gerald > / Stefan > > Gerald Richter wrote: > > > > > > >>I found out when using HTML::Embperl (i'e the Embperl 1) and doing > >>PerlSetEnv EMB

Re: Make embperl NOT close a table when Using Execute

2003-03-30 Thread Gerald Richter
erlBlocks $] at the top of yout file.epl Gerald ---------- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * dynamische Webapplikationen * Consulting Post: Tulpenstrasse 5 D-55276 Dienh

Re: AuthDBI logoff

2003-03-30 Thread Gerald Richter
ch uses cookies, where you are able to reset the cookie. Gerald ---------- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * dynamische Webapplikationen * Consulting Post: Tulpenstrasse 5

Re: Empberl::Object on Apache 2

2003-03-30 Thread Gerald Richter
move it. If this still doesn't help try to add a PerlModule Embperl to your httpd.conf Gerald ---------- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * dynamische Webapplikationen * Consulting Post

Re: Empberl::Object on Apache 2

2003-03-31 Thread Gerald Richter
> > That does not help either.. any more ideas? Or could somebody > send me a working sample configuration for Apache2 ? > Does make test work for you? If yes you have a woring configuration in test/conf/httpd.conf Gerald -----

Re: Embperl install error

2003-03-31 Thread Gerald Richter
>I just tried Perl -MCPAN -e shell > install HTML::Embperl >and it pulled down 2.0b8. Perl 5.8.0 requires the newest Embperl version from the cvs to work Gerald ------ Gerald Richter ecos electronic communication service

Re: Embperl install error

2003-03-31 Thread Gerald Richter
>How do I get the CVS version? see perldoc CVS.pod Gerald -- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * dynamische Webapplikationen * Consulting Post: Tulpenstrasse 5 D-55

Re: Embperl 2.0?

2003-06-05 Thread Gerald Richter
, which hopefully will turn soon to 2.0 release version. You can be sure Embperl development will continue. Please stay tuned Gerald -- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * dynamische

Re: Embperl on 64Bit (was: Embperl 2.0?)

2003-06-09 Thread Gerald Richter
> > "make test" doesn't succeed (fails in various ways) on some non-i386 > archs (alpha, m68k, ia64, arm). There's some 32/64 bit or endian > issues somewhere I haven't tracked down yet (haven't looked > recently - its proving hard to track down). > Angus, could you try the lastest CVS versio

Re: Embperl 1.3.6 Compile error on Solaris

2003-06-09 Thread Gerald Richter
>Embperl.c: In function `XS_HTML__Embperl_SetupRequest': >Embperl.c:273: parse error before `void' Could you send me your file Embperl.c ? Gerald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re: Preloading epl files

2003-06-09 Thread Gerald Richter
>I see in archive for the Embperl mailing list , that is possible preloading modules >with the routine preload_dir. > >In this case the epl file is compiled only one time and each child process of apache >get a copy ? You can call each file with Execute and the import => 0 parameter (I guess th

Re: Troubles with Embperl 2 latest CVS versions instalations

2003-06-09 Thread Gerald Richter
t   Gerald   ------Gerald Richter ecos electronic communication services gmbhIT-Securitylösungen * dynamische Webapplikationen * Consulting   Post:   Tulpenstrasse 5  D-55276 Dienheim b. MainzE-Mail: [EMAIL PROTECTED]  Voice:   +49 6133 939-122WWW:    http://www.ecos.de/

Re: SELECTs not appearing in %idat

2003-06-09 Thread Gerald Richter
Hi, this problem is changed in the current Embperl CVS which will be released as 2.0b9 during the next days. There will be no changes for EMbperl 1.3.x Gerald -- Gerald Richter ecos electronic communication services gmbh IT

Re: Embperl + Apache

2003-06-09 Thread Gerald Richter
>I use Apache::DBI with Oracle (persistent connection) and Apache::SessionX >using FileLock. >... >I did an truss in httpd process and when this page in embperl is submmited >the truss in any situations an show an signal SIGALRM SIGALRM looks like time out. Maybe there is a deadlock. Could you t

Re: Latest Embperl 2.x

2003-06-09 Thread Gerald Richter
> > I've been out of the loop for a few months so I'm not too sure what's up > right now..but... > > My webserver is running "Embperl/2.0b9_dev-3". Are there any significant > updates since this build? If so, where can I obtain these updates? Do they > break anything functional in the prior release

Re: Embperl + Apache

2003-06-09 Thread Gerald Richter
>For use Null locker (i guess Apache::Session::Lock::Null), i have to modify >Makefile.PL of Apache-SessionX-2.00b5 ? No, you don't have to. You can simply add EMBPERL_SESSION_CLASSES "File Null" to your httpd.conf Gerald > > > >I use Apache::DBI with Oracle (persistent connection) and Apac

ANNOUNCE: Embperl 2.0b9

2003-06-09 Thread Gerald Richter
d initialization of ap_filter_rec structure which had lead to random segfaults when using the subreq parameter. ---------- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * dynamische Webapplikationen * C

Re: BUGS IN Embperl 2.0b9

2003-06-10 Thread Gerald Richter
erald -- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * dynamische Webapplikationen * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 93

Re: Re: BUGS IN Embperl 2.0b9

2003-06-10 Thread Gerald Richter
> > It's a standard RedHat 8.0 box with all security updates. > > perl 5.8.0-55 > mod_perl 1.99_05-3 > httpd 2.0.40-11 > > The typo should be fixed asap... > That's no type, but actions_module was renamed from 1.3 to 2.0. Nevertheess it should be fixed When your test fails, could you please send

Re: make fails: embperl 2.0b8 on netbsd

2003-06-10 Thread Gerald Richter
Hi, > > I am having trouble compiling embperl on a netbsd machine: > Could you try 2.0b9. Does this change anything? Gerald > netbsd 1.6 > apache-2.0.46 > ap2-perl-1.99.8 > perl-5.8.0nb1 > > Here ist the output, what am I missing ? > > > -bash-2.05b# perl Makefile.PL > Found mod_perl 2.0 > Bui

Re: ANNOUNCE: Embperl 2.0b9

2003-06-12 Thread Gerald Richter
Angus, > > there are zillions of compile warnings about "suggest parentheses > around assignment used as truth value" in the ExtUtils::XSBuilder > generated code and a few elsewhere (when compiling with > OPTIMIZE=-Wall). I cleaned up these compile warnings with one of my > patches I posted a whi

Re: local vars in subs (was: embperl status)

2003-06-12 Thread Gerald Richter
-- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * dynamische Webapplikationen * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 939-122 WWW:http://www.ecos.de/ Fax: +49

Re: BUGS IN Embperl 2.0b9

2003-06-12 Thread Gerald Richter
Hi, > #12 error.htm... > Error in Line 8 Does this work for the offline mode? Running the same test here (with Apache 2.0.44, mod_perl 1.99_09 and Perl 5.8.0) gives different output and no error... Gerald - To unsubscribe,

Re: Embperl 2.0cvs or 1.3.6 with Apache 2.0 and Perl 5.8.0

2003-06-12 Thread Gerald Richter
whether I need to download a new snapshot or not? > There is a mailing list to which you can subscribe. Then you see any checkin along with the comments what was checked in See perldoc CVS.pod Gerald ---------- Gerald Richter e

Re: Embperl::Execute within FastCGI app?

2003-06-12 Thread Gerald Richter
> > FastCGI: server "/home/httpd/cgi-bin/pgreet.pl.fcgi" stderr: Usage: > FCGI::Stream::READ(stream, bufsv, len, ...) at /usr/lib/perl5/site_perl/ > 5.8.0/i686-linux-thread-multi/Embperl.pm line 109. > > Now line 109 is the line with the asterisks below from this snippet of > file Embperl.pm. > Th

Re: Per-table PrimKeys?

2003-06-12 Thread Gerald Richter
> I tried futzing with MetaData but couldn't figure out if this was > possible. I'd like to setup the initial information for my tables > with different primary keys for some of the tables (similar to the > way it's possible to override link values). Is this possible? Yes. $db = DBIx::Databa

Re: sub error

2003-06-12 Thread Gerald Richter
> Did I ever report this error: > Which version of Embperl? If 2.x, could you try if it is fixed in 2.0b9. I have done some adjustments on subs Gerald > This sub will display nothing: > > [$ sub showData $] > [- > ($type, $data) = @_; > $escmode = 1; > print OUT "$data"; > -] > [$ ends

Re: Embperl 2.xx and Apache 2.0.x on Windows

2003-06-13 Thread Gerald Richter
e when I get enough time. Sorry. Gerald P.S. Please send furher questions to the Embperl mailing list, so others can participate -Original Message- From: Gerald Richter [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 7:54 AM To: Pham Michael Subject: Re: Embperl 2.xx Hi, sorr

Re: Embperl 2.0cvs or 1.3.6 with Apache 2.0 and Perl 5.8.0

2003-06-13 Thread Gerald Richter
> > for me it was real hacking to make 2.0b8 work. i have to install it on a > machine on monday than runs RH9. hope 2.0b9 will install more easily than > earlier. > The problem is that every RedHat version changes something in the system and you have to try to catch up. I guess the problem is onl

Re: Embperl 2.0cvs or 1.3.6 with Apache 2.0 and Perl 5.8.0

2003-06-13 Thread Gerald Richter
> > RedHat Linux 9.0 (kernel 2.4.20-13.9) > Apache 2.0.40-21.1 > Perl 5.8.0-88 > embperl_20030521223457 > mod_perl-1.99_07-5 > > In addition, I've tried to build modperl-2.0_20030521223522 but it won't > pass its tests either so I haven't installed or tried it with Embperl. > Since the test only f

Re: Executing multiple files using embperl 2.09b

2003-06-13 Thread Gerald Richter
> > I have this structure: > > in file index.epl > [- > Execute ({inputfile => 'mainprogram.epl', package => __PACKAGE__}); > Execute ($theeplsitepath.'skins/'.$skin.'/colors.epl'); > Execute ({inputfile => $theeplsitepath.'includes/subs.epl', package => > __PACKAGE__}); > -] > > If inside file ma

Re: Empberl::Object on Apache 2 - SOLVED

2003-06-13 Thread Gerald Richter
Hi Andre, thanks for your feedback > > Finally I found time to look further into this. It seems that my > mod_perl was too old, I had 1.99.07 from Debian Experimental, > which caused the error. After manually updating it to 1.99.08 or > 09 everything works. > Just for the archives, in case anybod

Re: Re: Embperl 2.0cvs or 1.3.6 with Apache 2.0 and Perl 5.8.0

2003-06-16 Thread Gerald Richter
> > I just compiled apache 2.0.46 with mod_perl-1.99_09 on my redhat linux 9 box > (same specs as belows sys) and run Embperl 2.0b9 with the new Makefile.PL from > Gerald (fixes the module_action -> module_actions change in apache2).. > > > Seems that the error is still there...what do you thin

Re: Re: Re: Embperl 2.0cvs or 1.3.6 with Apache 2.0 and Perl 5.8.0

2003-06-16 Thread Gerald Richter
> > Cannot load > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Embperl/Embperl. so > into server: > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Embperl/Embperl. so: > undefined symbol: Perl_gv_stashpv > > Does anybody know what I did wrong? > Looks like Embperl and m

Re: Execute without __PACKAGE__

2003-06-17 Thread Gerald Richter
file -- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * dynamische Webapplikationen * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED

Re: Help with CGI mode and relative paths

2003-06-27 Thread Gerald Richter
> > In the following example, the fphover.class applet works in the first case > but can't be found in the second case (using CGI): > http://orbsoft.com/classic-leather/Dealers.htm > http://orbsoft.com/cgi-bin/embpcgi.pl/classic-leather/Dealers.htm > > Is there some way to tell Embperl about relati

Re: Embperl 2.0cvs or 1.3.6 with Apache 2.0 and Perl 5.8.0

2003-06-27 Thread Gerald Richter
> > @Gerald: The 'make test' problem is still there but it doesn't seem to concern > anything I use... > As far as I have explored it for now I think it's really only a problem of make test, not of Embperl. make test expects some error message, but the RH9 Perl version outputs it a little differen

Re: Testing 2.x with production 1.x code

2003-06-27 Thread Gerald Richter
me at different locations at the same server without problems Gerald -- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * dynamische Webapplikationen * Consulting Post: Tulpenstrasse 5 D-

Re: DirectoryIndex not working

2003-06-27 Thread Gerald Richter
> > Im running Apache 2.0.46, mod_perl 1.99_09, perl 5.6.1 (RedHat Enterprise > ES Package), Embperl 2.0b9 > With the configuration below i get a 404 when I should get index.html back, > if I remove the Embperl configuration it works fine. > Is there anything I can do to fix this? > Did you load m

Re: What good is %idat?

2003-06-27 Thread Gerald Richter
> Can anyone tell me what is the purpose of %idat? > It keeps track of the input fields seen so far in your html source. That's necessary for the [$ hidden $] command Gerald - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: Another embperlobject behavior i do not understand

2003-07-01 Thread Gerald Richter
> > i have a subroutine that in some side of this is executing the next: > > print OUT "Task duplicated"; > $fdat{taskid} = $task_inserted; > &display_task_form; > &clean_exit; > > The warning message is not being displayed, But the html code in sub display_task_form is being displayed correctly, d

Re: What good is %idat?

2003-07-01 Thread Gerald Richter
> So %idat is almost always for internal use of Emperl? > You can use the information when they are usefull for your code, otherwise it's only for internal use of Embperl Gerald - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: Testing 2.x with production 1.x code

2003-07-01 Thread Gerald Richter
> There seems to be some issue with this, but perhaps it is due to me not > using things as they should be. There is a line in my base.epl which > causes 2.0 to barf: > > $req_rec->update_mtime(time()); > Please add the following line in Embperl/Object.pm line 130, just after the sub Execute and

Re: Recordset: make test error with latest Postgres

2003-07-01 Thread Gerald Richter
> > Recordset make test fails with Postgres 7.3 on 'select multiple fields > 2', error log attached. It used to work before, it seems Postgres' type > convertion rules are more restrictive... In error log Recordset says > 'bind_types=1 4' and then Postgres complaints about atoi - new version > o

Re: Embperl::Object not using 'path'?

2003-07-02 Thread Gerald Richter
> Execute ({isa => 'Utils.epl', path => '/www/lib/perl/Apache/'}); > Try Execute ({isa => 'Utils.epl', path =>[ '/www/lib/perl/Apache/']}); path is an array ref now. You are right that breaks existing 1.3 code at this point, but with the EMBPERL_PATH or EMBPERL_OBJECT_ADDPATH in your ht

Re: Disable Debug Output

2003-07-04 Thread Gerald Richter
> 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: [EMAIL PR

Re: is now supported in 2.0b9?

2003-07-04 Thread Gerald Richter
t 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-Securit

Re: 2b9 and statically linked modperl

2003-07-05 Thread Gerald Richter
pile Embperl with "perl Makefile.PL debug" to get debugging informatins) Gerald ---------- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * dynamische Webapplikationen * Consulting Post: Tulp

Re: Out of Memory

2003-07-05 Thread Gerald Richter
>The out of memory problem occured because i'm not using $sth->finish ? Normaly this shouldn't be a problem. I guess there is somethingelse in your code that eats up memory... >I change the parameter MaxRequestsPerChild of 0 to 100. >It will resolve the problem or a have to change the code of m

Re: Problems using IPC::Open3 & IPC::Run3

2003-07-05 Thread Gerald Richter
> > Is there anyway to use IPC::Open3 or anything like it or is there another > module doing the same thing which can be used with embperl ? > Sorry, I don't know a solution. Maybe you can find something in the modperl guide (perl.apache.org) or go ask on the modperl mailing list Gerald ---

Re: more testing of embperl 2.0b9

2003-07-05 Thread Gerald Richter
-- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * dynamische Webapplikationen * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 939-122 WWW:http

Re: Nested Bug in 2.0b9

2003-07-05 Thread Gerald Richter
Hi Neil, I didn't managed to fix the bug so far. The best thing is to use [+ +] instead of print OUT, because handling of print OUT is much more complicated inside Embperl. Gerald -- Gerald Richter ecos electronic communic

Re: Nested Bug in 2.0b9

2003-07-05 Thread Gerald Richter
> > Unfortunately it's not really possible to replace 'print OUT' with [+ +] > in my code, because there are subroutines here which are recursive in > nature and so cannot be done using [$ sub $] (at least in 1.3), Should be also possible in 1.3, also it's more complicated. I try to fix the pro

Re: How to make %udat and %fdat available in Perl package?

2003-07-10 Thread Gerald Richter
> > I am using EmbPerl in cgi mode via embpcgi.pl and hiding most of the Perl > code as subroutines in a .pm package. Is there anyway to configure EmbPerl > so that %udat and %fdat are always available to the Perl code in my package > (without having to always pass \%udat and \%fdat as arguments w

Re: use of uninitialized value in embperl object 2.0b9

2003-07-11 Thread Gerald Richter
> > I am using cgi mode to develop but i am gettin this message "use of > uninitialized value". > > Do you know how can i disable this message? > Either initialize your values or turn warnings of (don't use -w) Gerald - To u

Re: EMBPERL_SESSION_HANDLER_CLASS to 'no' in embperl 2.0b9

2003-07-11 Thread Gerald Richter
> I am getting this message: > Set EMBPERL_SESSION_HANDLER_CLASS to 'no' to avoid this message > > In embperl 1.3.x i edited file embperl.pm and set the value but in > embperl2.0 it does not seems to work. > > Do you know what is the way to set this variable to no in embperl 2.0b9? > Just put

Re: EMBPERL_SESSION_HANDLER_CLASS to 'no' in embperl 2.0b9

2003-07-12 Thread Gerald Richter
>If you read the IIS setup guide I posted to the list a while back, >setting variables in a BEGIN block in the epocgi.pl file works just >fine. I've had to run embperl on IIS occasionally and I've had no >problems. Yes, the setting of $ENV{...} must be in a BEGIN { } block to work, sorry forgot

Re: Cwd / chdir

2003-07-15 Thread Gerald Richter
Hi, > > I am trying to use Embperl to scan a directory of files... I call a package > that uses Cwd and File::Find. It returns the list of files. However, when I > run it from the Embperl code I get: > > [error] [2306]ERR: 24: Error in Perl code: chdir: Illegal seek > Looks like the user Apache

Re: Access to %udat in epocgi.pl

2003-07-15 Thread Gerald Richter
Hi, >I want to compress the output of the calculated page with gzip. I >changed the epocgi.pl with a few lines. There is no problem to compress >the output, But I also want to use the cookie session handling and I >cannot find a solution. Can I access the embperl cookie header or how >can I acces

Re: Access to %udat in epocgi.pl

2003-07-17 Thread Gerald Richter
>I think Emberpl parse the cookie in a wrong way not /E=(.*?);/. It only >takes the last cookie var entry, that is EMBPERL_UID=... Looks to me like you set the cookie name to late. If you do it in Perl, make sure it's inside a BEGIN {} block >Is there a trick to reset the cookie entry, so I can g

Re: %sdat

2003-07-17 Thread Gerald Richter
> > What happend to %sdat in version 2 ? > It's still there, also I don't know how much it is used. Gerald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problems with setting EMBPERL_OPTIONS

2003-07-17 Thread Gerald Richter
> > EMBPERL_OPTIONS 1892 > must be 8192 > > My questions are: > > 1) How can I set EMBPERL_OPTIONS (in http.conf or .htaccess )? see above > 2) How can I set more than one option using EMBPERL_OPTIONS? add the values together Gerald --

Re: Passing A Hash Ref From One .epl To Another

2003-07-17 Thread Gerald Richter
> > Execute ({inputfile => $filename, param => $href }) ; > param needs a array ref, so you should write Execute ({inputfile => $filename, param => [$href] }) ; or simpler Execute ($filename, $href) ; and in your page access it as $param[0] Gerald

Re: Fill out formular fields with embperl

2003-07-17 Thread Gerald Richter
> If the value attribute is given Embperl doesn't nothing, without the value attribute it will do what you want Gerald P.S. The solution Kee pointed out is only needed if you load the _html_ dynamicly for example from a database, but for what you want to do it seems to be overkill

Re: Fill out formular fields with embperl

2003-07-17 Thread Gerald Richter
> > > >Thank you, this works, but I've got a new problem :) > >I need to declare the formular in a var and later I write it into the > >document, and then Embperl does not fill out the formular... Is there a > >solution, too ? > > Instead of printing the form string, execute it. > Aah, I should

Re: Gzip Embperl::Object output

2003-07-17 Thread Gerald Richter
Hi, >I've developed a small package that compress the output stream of >Embperl::Object as a replacement of epocgi.pl. >You can use it like epocgi.pl. >Maybe its usefull :) > >It could be found under: >http://www.webscope.de/embperl/Embperl_Addon_GZip.zip >Also I've written a wordfile for ultraed

Re: Problems with setting EMBPERL_OPTIONS

2003-07-18 Thread Gerald Richter
> > EMBPERL_OPTIONS 8192 > EMBPERL_OPTIONS 16 > EMBPERL_OPTIONS 262144 > write EMBPERL_OPTIONS 270352 (8192 + 16 + 262144) Gerald P.S. Please keep the discussion on the list - To unsubscribe, e-mail:

Re: Embperl2 and IIS best performance setup

2003-08-03 Thread Gerald Richter
> > Somebody knows what is the configuration for best performance to workt > wiht embperl2and IIS? > Unformutnately the only things that really works on IIS at the moment is running Embperl as CGI (without perliis.dll). Using something like FastCGI or SpeedyCGI would be the best, but I didn't ha

Re: Strange problem with Embperl 2.0b9 + httpd 2.0.40

2003-08-03 Thread Gerald Richter
> > You should not use CGI inside Embperl because it will try to read the > form fields again and conflict with Embperl, and make your app BIG. > Yes, that the problem here > For your escaping use the $req->Escape from Embperl (I don't know if it > is available in Embperl2 - Gerald?). > Yes, it'

Re: problem with xs_generate.pl (FunctionTable.pm missing)

2003-08-03 Thread Gerald Richter
> Can't locate > /export/home/scotts/perl/embperl/xsbuilder/tables/Embperl/FunctionTable.pm > in @INC (@INC contains: /usr/local/lib/perl5/5.8.0/sun4-solaris > > > Where do I get FunctionTable.pm > It's generated by source_scan.pl. Did you run this before? Gerald --

Re: HTML::Embperl dependencies

2003-08-03 Thread Gerald Richter
> As I'm building HTML::Embperl from CVS source, I've taken note of some > PERL module dependencies. I've been installing on a clean Solaris > Box. Didn't see these listed anywhere so I thought I would go ahead > and post them. This may be a partial list: > > ExtUtils-MakeMaker > ExtUtils-XSBuil

Re: incompatible epapinit.c file error

2003-08-03 Thread Gerald Richter
> Running into an error when I try to start apache. It seems that I have > an older version of epapinit.c installed, but I can't seem to find an > HTML::Embperl distribution that provides a more current one. I'm > building the latest CVS codebase. > > Here's the error: > > # ../bin/apachectl star

Re: Single Form - Multiple Destinations

2003-08-03 Thread Gerald Richter
> > Another idea is perhaps having one page that intercepts the form, but > call's an Execute() on sub pages for different functions (refresh and > the other option). > I would go with that approach, because it still works without JavaScript. In case you use Embperl 2 you can use the Application

Re: Embperl::App::DESTROY ?

2003-08-03 Thread Gerald Richter
> I notice the body of xs/Embperl/App/App.xs:Embperl__App_destroy() is > commented out in the 2.0b9 release. > > Is this some left over debugging or is there some problem with this > (auto-generated) function? The DESTROY is not needed, it's only called once at startup after the first pass of par

Re: Radio buttons and Embperl Validate

2003-08-03 Thread Gerald Richter
> > I am using Embperl Validation for form fields. One field has a set of radio > buttons, all with the same name, but different values. I'd like to ensure > that at least one of them is clicked. I am using this data structure for > it: > > [-key => 'data', > -name => 'information type'

Re: chaining Links ?

2003-08-03 Thread Gerald Richter
Am Freitag, 1. August 2003 02:53 schrieb Joshua Spoerri: > Is it possible to chain Linked tables? > > I would like to do $A{-B}{-C}{someFieldOnC} but the link from table B to > table C is not automatically detectable. > There are some limitation in the implementation of Perl tied hashes, so you

Re: behavior of [! !]

2003-08-03 Thread Gerald Richter
> Was reading through the documentation, and don't see too much detail on > the exact differences between [! !] and [- -]. I see that [! !] runs > the code block once. But, it's unclear what "once" means. > Once mean the first time the page is loaded, but be aware it's loaded in every Apache ch

Re: Embperl Wishes and comments

2003-08-03 Thread Gerald Richter
> > - Actual documentation is good but I would want to have a best explained > documentation and to have examples Yes this would be great, but writing docs takes a lot of time. I try to do my best, but my time is very limited. Would be great if people could submit patches to the documentation if

Re: Embperl Wishes and comments

2003-08-03 Thread Gerald Richter
> > file subs.epl: > [- sub mysub {print OUT "hello"; } -] > write [! sub mysub {print OUT "hello"; } !] because [- -] blocks are not executed on import Gerald - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: Global 'use strict' in 2.x once again

2003-08-10 Thread Gerald Richter
> > The first time I open the page after adding the [$ var $dummy $], I get an > expected error-message saying: >... > > If I then refresh the page once or twice, the error-message looks like this > instead: > This is because the page isn't recompiled and Embperl isn't able to save all of the err

Re: Segmentation faults...

2003-08-10 Thread Gerald Richter
> > What is the best way to debug segmentation faults? Randomly all of my > apache children are segfaulting. I am fairly certain this is due to some > Embperl code being ran, but I don't know where to look, or how to start > looking... > First of all compile Embperl with perl Makefile.PL debug ma

Re: escaping and default behavior for optRawInput with spaceship operators in HTML::Embperl -vs- Embperl-2.0b9

2003-08-14 Thread Gerald Richter
> > Of course, I can set EMBPERL_OPTIONS to optRawInput with HTML::Embperl > 2.0b5 and then I don't have to change any Embperl code to run on both > versions. > > > Did the default behavior change from version to version? > Yes, the default change during 2.0 beta. Embperl 2 now behave like Embperl

Re: Embperl Wishes and comments

2003-08-14 Thread Gerald Richter
> > Yes. Imports and library loads in general are not inherited. That's > also true in EmbperlObject and I find it somewhat of a pain there as > well. I'd like to keep those components as simple as possible, which > means not having to say things like: > [$ var $this $][- $this = shift; us

Re: Magic

2003-08-14 Thread Gerald Richter
> > Now could someone please explain to me how it is that *'s processForm > method appropriately gets invoked when I call $this->processForm, > even though I call $this->processForm BEFORE I call Execute('*')? > > Because the Embperl request object ($this in your case) is setup by Embperl::Object

Re: Can't locate Apache/SessionX.pm *and* Apache::SessionX is installed

2003-08-14 Thread Gerald Richter
> > When I restart Apache, to enable sesseion management, I get this kind of > error meassage in the embperl.log: > > [108]ERR: 66: Embperl Session handling DISABLED because of the following > error: Can't locate Apache/SessionX.pm in @INC (@INC contains: > /usr/lib/perl5/i386-linux /usr/lib/perl

Re: Nested Bug in 2.0b9

2003-08-14 Thread Gerald Richter
> > Gerald, this was from 5th July, and I am not sure what the status of the > bug is. Nothing changed since this email :-( > I know you're pressed for time, but it occurred to me that > perhaps it would help keep track of Embperl bugs if you used the bug > tracking system which SourceForge prov

Re: Embperl Book (was: Embperl Wishes and comments)

2003-08-14 Thread Gerald Richter
> > Alternatively, you could write the book in English and then do a German > translation ;-) > Yes, but doing a translation is still a lot of work (I have translated two pocket guides for O'Reilly in the past, so I know what I am talking about, and the Embperl book will surely longer then a poc

Re: Problem with import subroutine

2003-08-14 Thread Gerald Richter
> I have two scripts. > > base.htm > index.htm > -- > > index.htm : > > [- > sub test { > return 'wellcome'; > } > -] > > > base.htm : > > [- Execute ({inputfile => '*' , import => 1 }) -] > [+ test () +] > > > When I run index.htm then base.htm return error , beca

Re: I found one way to get global subs..what do you think?

2003-08-14 Thread Gerald Richter
> > I found one way to get global subs in embperl. > This is not the best way to do it but it works. The best solution is that > embperl handle this. Also the thing you do works, it seems a little bit complicated. Angus has send a list of possibilities you have for calling global subs in Embperl,

Re: Strange problem with Embperl 2.0b9 + httpd 2.0.40

2003-08-14 Thread Gerald Richter
Am Montag, 4. August 2003 13:10 schrieb Torsten Luettgert: > On Son, 2003-08-03 at 20:06, Gerald Richter via COM.BOX TEMA wrote: > > > For your escaping use the $req->Escape from Embperl (I don't know if it > > > is available in Embperl2 - Gerald?). > > > &

Re: Embperl Book (was: Embperl Wishes and comments)

2003-08-14 Thread Gerald Richter
> > I had started with a book about Embperl in german, but this project is > > on halt at the moment for two reason: 1.) my limited time, 2.) Embperl > > is to special that many people will buy such a book and the O'Reilly > > don't excepted to sell much books at the moment, because they sell >

Re: Trapping errors from embperl subroutines

2003-08-17 Thread Gerald Richter
> Running 1.x. I want to load a perl module (Execute('*') with import > set to 0) and then later in the routine call $this->process(). > > In normal perl code I would do this: > > try { > $this->process($udat{account_id}); > } otherwise { > my $err = shift; > $this->Error(0); >

Re: strange comportment of my epl file (embperl 1.3.6)

2003-08-17 Thread Gerald Richter
>I have an epl file that mount an screen for download of files and when >the user click "quit" button (after user download an file), the same epl file when submited >remove temporary files and on, onload of html page, the javascript close the window. > >When the user press Quit, the epl file in se

Re: Trapping errors from embperl subroutines

2003-08-17 Thread Gerald Richter
> > try is basically an eval. The problem is that there isn't an > exception. Embperl catches the exception in it's eval, logs it to > apache, and then returns with Error() set to some value. Is your sub a pure Perl sub e.g. [! sub foo { } !] or a Embperl sub e.g [$sub$] ... ? For the first one

Re: Implicit import of *

2003-08-25 Thread Gerald Richter
> EmbperlObject is doing an implicit import of *. > Yes, your $this pointer if always blessed into the '*' file, so your call to any method in the '*' file doesn't need an import at all. > 1. If all I want to do is import the file, what should I do? Not > call Execute? yes > What if there's an

Re: Content-Length is way to high

2003-08-26 Thread Gerald Richter
THis might be a problem with the Apache binary which comes with SuSE. You can try 1.) remove everything that looks like ipv6 from the apache startup script /etc/init.d/apache 2.) Upgrade to Embperl 1.3.6 Gerald - Original Message - From: "Rainer Perl" <[EMAIL PROTECTED]> To: "Angus Lee

Re: What's going on with Embperl???

2003-09-24 Thread Gerald Richter
ou might know it is possible to add news, links, examples, articles to the Embperl website. Please use this feature to show that Embperl is widely used. ------ Gerald Richter ecos electronic communication services gmbh IT-Securitylös

Re: What's going on with Embperl???

2003-09-25 Thread Gerald Richter
the memory usage of the httpd process. To debug this compile with perl Makefile.PL dmalloc which will compile in the dmalloc library and log some memory statistics to the logfile, along with linenumber where the memory is allocated. Writeing a book would be great. That's up to you. Gerald

Re: chdir / startup issues

2003-10-02 Thread Gerald Richter
he way. > > Thoughts? > Embperl.pm does a Cwd::fastcwd() on startup, you might replace this with Cwd::cwd() or Cwd::getcwd(), which might avoid to stat paraent directories Gerald ---------- Gerald Richter ecos electronic communication serv

Re: Problem with charset in embperl 2

2003-10-02 Thread Gerald Richter
s Kassab > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Gerald Richter eco

  1   2   3   4   5   6   7   8   9   10   >