Re: Migrating from regular mod perl scripts

2003-06-16 Thread Daniel Barbar
Patrick, I'm not familiar with the libraries you use in the code below but, whatever it is, I'm confident to say that it should work in Embperl. For example, if you enclosed the code below between the '[-' and '-]' and printed everything to the OUT handler, you'd have an equivalent Embperl

Migrating from regular mod perl scripts

2003-06-16 Thread Patrick Galbraith
Hi there, I'm in the process of trying to see if Embperl is a good templating solution, but am not sure where to start. Also, I'm wondering one simple thing. How would you use Embperl to do what regular mod perl script does... something like: #!/usr/bin/perl use MyLib::Util; use MyLib::DB; my

Execute without __PACKAGE__

2003-06-16 Thread ckassab
Hi all: Eplsite(www.eplsite.org) is a good system to run as CGI but when running with mod_perl it will consume memory because it is using Execute with __PACKAGE__ The main file is called index.epl and it is executing some files containing subs, when i try to change the way to execute files like

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: 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 Alexander Hartmaier
Reply to myself ;-) I get the following error if i try to execute '/usr/local/apache2/bin/apachectl start' and start my self-compiled apache 2.0.46 with mod_perl 1.99_09: Cannot load /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Embperl/Embperl.so into server: /usr/lib/perl5/site_

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

2003-06-16 Thread Alexander Hartmaier
Hi list! 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).. #1