Re: What am I looking for? (PerlChild or PerlCleanup?)

2002-05-21 Thread Angus Lees
At 21 May 2002 23:24:09 -0400, Aaron Johnson wrote: > Inside my external script I read in the Storable file and execute > accordingly. presuming your "external script" is just more perl code, there's no need to exec another perl interpreter and save/restore your data. just have your child{} bloc

Re: What am I looking for? (PerlChild or PerlCleanup?)

2002-05-21 Thread Aaron Johnson
Hello all, Thanks for the reply Gerald. FYI I am doing this under 2.0 Well a came up with a working solution, but since this is the first time doing this I am not sure that what I have done it in the cleanest manner. Here is what I did: I stored my parameters into a Storable format file and c

Re: Problems with EmbPerl 2.x

2002-05-21 Thread Cameron McBride
> [3332]ERR: 26: Logfile /tmp/embperl.log open error: Permission denied > [3332]ERR: 66: Embperl Session handling DISABLED because of the following > error: Can't locate Apache/SessionX.pm in @INC (@INC contains: > /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 > /usr/lib/perl5/site_p

Re: EmbperlObject subcomponent inheritance (1.3.x)

2002-05-21 Thread Gavin Carr
Hi Gerald, On Tue, May 21, 2002 at 08:04:44PM +0200, Gerald Richter wrote: > So your original usage of .. was correct. Basicly what you are doing seems > to be ok, but I see that it doesn't work. > > Where is your base template located? Where is the page you are actually > requesting located? Ca

Problems with EmbPerl 2.x

2002-05-21 Thread Leeland Heins
When I try to run a page I've written with EmbPerl 2.0b7 I get the following: [3332]ERR: 26: Logfile /tmp/embperl.log open error: Permission denied [3332]ERR: 66: Embperl Session handling DISABLED because of the following error: Can't locate Apache/SessionX.pm in @INC (@INC contains: /usr/l

Re: auto-selecting OPTION not working

2002-05-21 Thread Gerald Richter
> > The [+ $fdat{category} +] results in: > > Collateral > > and Collateral is in the SELECT list. > Strange... Could set EMBPERL_DEBUG to 2285 or similar and send me the embperl.log file? Gerald - Gerald Richterecos electronic

Re: EmbperlObject subcomponent inheritance (1.3.x)

2002-05-21 Thread Gerald Richter
> > Sorry, confusing use of terms. By 'parent' I wasn't meaning a filesystem > parent directory. > So your original usage of .. was correct. Basicly what you are doing seems to be ok, but I see that it doesn't work. Where is your base template located? Where is the page you are actually requesti

Re: What am I looking for? (PerlChild or PerlCleanup?)

2002-05-21 Thread Gerald Richter
> > 1. How can I allow the browser to display something while the process is > running to let the user know the server is working and prevent a timeout > in by the browser. (interim page) > In Embperl 1.3.x set dbgFlushOutput and optEarlyHttpHeader, in this case any output is dierectly send to th

RE: Sending zip file to browser

2002-05-21 Thread Wim Kerkhoff
See: http://perl.apache.org/embperl/Faq.pod.3.html#How_can_I_customise_the_header _t You'll probably need to send a content type of application/zip. Regarding the spaces, basically make the opening [- bracket be the very first character in your Embperl file, and the closing -] be the last chara