Re: choose a template

2009-06-17 Thread Perrin Harkins
On Wed, Jun 17, 2009 at 11:37 PM, wrote: > Here, aren't shopcart.nitems and shopcart.contents method calling of > an object like? Yes. If you don't like passing objects, you could just pass the list of items as an array of hashes. One nice thing about TT here is that the syntax is the same. >

Re: choose a template

2009-06-17 Thread practicalperl
I got the code piece from Template's manual: my $vars = { root => 'http://here.com/there', menu => [ 'modules', 'authors', 'scripts' ], client => { name => 'Doctor Joseph von Satriani', id => 'JVSAT', }, checkout => sub { m

Re: choose a template

2009-06-17 Thread Perrin Harkins
On Wed, Jun 17, 2009 at 10:36 PM, wrote: > Template::Toolkit is smart enough, but it requires designners to know > some syntax about Perl. How so? I've often used TT with people who didn't know any perl. How is it more difficult for them than HTML::Template is? - Perrin

choose a template

2009-06-17 Thread practicalperl
Hello, We have a new project, which is medium large, with about 300 CGI scripts with Perl. We have designers who make HTML/JS/CSS etc. But designers don't know Perl. I want to choose a template system which will separate Perl code from front-page codes (like html,css etc). I have the experience o

Re: mod_perl 1.0 Compilation on Linux Ubuntu

2009-06-17 Thread hans
Philipe, Since your response i recheck the build process. I tried to compile just apache 1.3.39 alone, and it didn't work too. This show me the fact that the problem i was experiencing was apache related and not specific to mod_perl. The problem where really sneaky because it was caused by th

RE: Apache crashes relatively often

2009-06-17 Thread Srinivas Gadde
My resume copies are at http://www.gecpvt.com/IpResume55.pdf http://www.gecpvt.com/IpResume55.docx Phone numbers are 408-329-7307,212-203-0684,512-524-3905. (CELL) 512-773-8922 srinivas From: fri...@gmail.com Date: Wed, 17 Jun 2009 13:24:24 -0500 Subject: Apache crashes relatively of

Apache crashes relatively often

2009-06-17 Thread fREW Schmidt
Hey guys, We are having weird memory leak issues with Apache and some mod_perl. Basically what happens is that, depending on load, we eventually run out of ram and apache crashes. We have the setting that will restart apache after a given numer of requests, and that seems to work temporarily, but

Re: mod_perl 1.0 Compilation on Linux Ubuntu

2009-06-17 Thread Philippe M. Chiasson
On 17/06/09 12:52 , h...@welinux.cl wrote: > Philippe, > > I've just did it, and ran gcc on verbose mode and it seems to be fine, the > problem may be somewhere else: Just a hunch, looks like your gcc messages are localized in a non-english language (italian? spanish?) Can you quickly try and

Re: mod_perl 1.0 Compilation on Linux Ubuntu

2009-06-17 Thread Philippe M. Chiasson
On 17/06/09 11:08 , h...@welinux.cl wrote: > Hi, > > I'm having trouble compiling mod_perl on latest ubuntu (Jaunty), i've tried > the latest version of mod_perl: 1.31 and apache: 1.3.41 without success, then > i downgraded to some older versions once i was able to build: mod_perl.1.30 > and ap

mod_perl 1.0 Compilation on Linux Ubuntu

2009-06-17 Thread hans
Hi, I'm having trouble compiling mod_perl on latest ubuntu (Jaunty), i've tried the latest version of mod_perl: 1.31 and apache: 1.3.41 without success, then i downgraded to some older versions once i was able to build: mod_perl.1.30 and apache 1.3.39, without success too. The problem is that

Re: Conf. multiple apache locations with colliding namespaces

2009-06-17 Thread Michael Peters
Perrin Harkins wrote: You can also run separate mod_perl backends I usually like this approach since it gives you a lot of control and let's you manipulate (start, stop, etc) one instance without having to affect others. It also gives you more scaling options as you can in the future easily

Re: Conf. multiple apache locations with colliding namespaces

2009-06-17 Thread Perrin Harkins
Hi, > we're looking for a way to offer version handling to our serverside perl > app. You'll find many discussions of this in the mailing archive with multiple options. > My first ideas goes as: > > >        PerlSwitches -I /some/path/v2.0.0/ >        PerlResponseHandler run > > > >        Pe

RE: Apache 1.3.41 child process crashing in mod_perl

2009-06-17 Thread Srinivas Gadde
My resume copies are at http://www.gecpvt.com/IpResume55.pdf http://www.gecpvt.com/IpResume55.docx Phone numbers are 408-329-7307,212-203-0684,512-524-3905. (CELL) 512-773-8922 srinivas From: pdand...@cisco.com To: modperl@perl.apache.org Subject: Apache 1.3.41 child process crashin

Conf. multiple apache locations with colliding namespaces

2009-06-17 Thread Fredrik Lindmark
Hello, Apache is my weak hand so hope to clear some fog with your help. we're looking for a way to offer version handling to our serverside perl app. Each database is tagged to a certain version of the application and they should be upgraded individually to interfere as little as possible w

Apache 1.3.41 child process crashing in mod_perl

2009-06-17 Thread Prathima Dandapani -X (pdandapa - HCL at Cisco)
Hello All, I have compiled Apache 1.3.41 + mod_perl 1.30 + mod_jk +modssl.Apache child processes are crashing very very frequently and the error.log is getting filled up with the following message [Tue Jun 9 12:05:38 2009] [notice] child pid 73 exit signal SegmentationFault (1