> 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
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
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
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
>
> 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
-----
>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
>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
, 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
>
> "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
>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
>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
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/
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
>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
>
> 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
>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
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
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
>
> 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
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
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
--
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
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,
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
>
> 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
> 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
> 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
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
>
> 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
>
> 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
>
> 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
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
>
> 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
>
> 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
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
>
> 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
>
> @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
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-
>
> 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
> 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
>
> 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
> 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
> 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
>
> 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
> 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
> 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
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
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
>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
>
> 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
---
--
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
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
>
> 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
>
> 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
>
> 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
> 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
>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
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
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
>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
>
> 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]
>
> 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
--
>
> 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
>
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
> >
> >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
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
>
> 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:
>
> 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
>
> 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'
> 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
--
> 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
> 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
>
> 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
> 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
>
> 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'
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
> 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
>
> - 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
>
> 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
>
> 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
>
> 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
>
> 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
>
> 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
>
> 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
>
> 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
>
> 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
>
> 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
> 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
>
> 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,
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?).
> >
> &
> > 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
>
> 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);
>
>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
>
> 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
> 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
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
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
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
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
s Kassab
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
Gerald Richter eco
1 - 100 of 2943 matches
Mail list logo