configuration problem

2007-06-05 Thread devnath reddy
hi thanks for adding me into your subscriber list as i tried to compile this mod_perl with apache, i am able to see the index.pl page in scriting in browser i am unable to see look and fell page. help me out. thanks. regards dev.

Re: how to implement input filter for easy way?

2007-06-05 Thread Max Rodkin
Hi, Jonathan Apache mod_rewrite not usable, IMHO, because "Mod_rewrite uses two of these hooks: the URL-to-filename translation hook which is used after the HTTP request has been read but before any authorization starts", i.e. http request is obligatory needed my request is not http... Well,

Re: Which template engine is best to create a perl site

2007-06-05 Thread Octavian Rasnita
HTML::Template::JIT compiles your entire template into a C program, so it's hard to believe that anything else is going to be significantly faster than that. I have tested HTML::Template::JIT, but HTML::Template::Compiled was much faster than it. I don't use HTML::Template::Compiled though, bec

Re: Which template engine is best to create a perl site

2007-06-05 Thread Jonathan Vanasco
On Jun 5, 2007, at 2:54 PM, Perrin Harkins wrote: I think that's a pretty questionable claim. TT is faster than CGI::Ex::Template in normal use with mod_perl. CET is only faster if you use mod_cgi where TT can't do caching. HTML::Template::JIT compiles your entire template into a C program,

Re: Which template engine is best to create a perl site

2007-06-05 Thread Perrin Harkins
On 6/5/07, Clinton Gormley <[EMAIL PROTECTED]> wrote: >From the docs: "CGI::Ex::Template is fast but CGI::Ex::Template::XS is even faster. If CGI::Ex::Template isn't fast enough for you, the XS version has key methods coded in C and provides a noticable improvement over the non-XS version. CET by

Re: Which template engine is best to create a perl site

2007-06-05 Thread Clinton Gormley
On Tue, 2007-06-05 at 11:36 -0700, Michael Greenish wrote: > But I'm locked in to using HTML::Template because I know it, have > wrapper functions created and I don't have time to figure all that > stuff out again, plus redo old templates or re-write model classes to > spit data out in a different

Re: Which template engine is best to create a perl site

2007-06-05 Thread Michael Greenish
Hello. Rather than being most concerned about the learning curve, I would be more concerned with using a flexible and powerful template engine. Because once you start down the road of building templates, if your template engine isn't capable enough, you have to go back and redo them and maybe

Re: mod_perl, html forms and unicode/utf-8

2007-06-05 Thread John ORourke
Thanks Gents, I've got a certain level of abstraction as per Jonathan's approach, which I can just add the libapreq method. The note about DBD::MySQL is interesting, I was wondering about that! cheers John Clinton Gormley wrote: Hi John I've been using libapreq, which has a charset method

Re: Which template engine is best to create a perl site

2007-06-05 Thread Clinton Gormley
On Tue, 2007-06-05 at 22:43 +0530, abhishek jain wrote: > Hi friends, > I wish to create a scalable site made in PERL and seek guidance which > templating engine should i use which has less learnig curve also. > Names comming to my mind are: > 1. Embperl > 2. Template::Toolkit > 3. Html::Mason C

Re: mod_perl, html forms and unicode/utf-8

2007-06-05 Thread Clinton Gormley
Hi John I've been using libapreq, which has a charset method: http://search.cpan.org/~joesuf/libapreq2-2.08/glue/perl/xsbuilder/APR/Request/Param/Param.pod#charset It is fairly limited, it recognises: 0 APREQ_CHARSET_ASCII (7-bit us-ascii) 1 APREQ_CHARSET_LATIN1 (8-bit iso-8859-1) 2 APREQ_CHARSE

Re: mod_perl, html forms and unicode/utf-8

2007-06-05 Thread Jonathan Vanasco
On Jun 5, 2007, at 12:56 PM, John ORourke wrote: my $q=Apache2::Request->new($r); my $known_to_be_utf8 = $q->param('test'); # form post doesn't give charset, none assumed slightly off topic, my suggestion on implementation would be along the lines of this: package Context();

Which template engine is best to create a perl site

2007-06-05 Thread abhishek jain
Hi friends, I wish to create a scalable site made in PERL and seek guidance which templating engine should i use which has less learnig curve also. Names comming to my mind are: 1. Embperl 2. Template::Toolkit 3. Html::Mason Pl. guide me which will be best or give me a suggestion, if someone has

mod_perl, html forms and unicode/utf-8

2007-06-05 Thread John ORourke
Hi folks, I've been dragged kicking and screaming into the 21st century and am making my mod_perl application fully utf-8 aware and transparent. It's all going OK but I want to know if anyone has a better solution to receiving form data containing non-ASCII chars. Output is fine - I can ove

Re: how to implement input filter for easy way?

2007-06-05 Thread Jonathan Vanasco
you should be able to do that with a simple redirect, apache1 or 2 look up mod_rewrite or modrewrite you don't need perl to do that, and since you're running php in apache, i would recommend against it . On Jun 5, 2007, at 8:41 AM, Max Rodkin wrote: Hi all, i need to convert request: "$3

how to implement input filter for easy way?

2007-06-05 Thread Max Rodkin
Hi all, i need to convert request: "$355632000166323,1,1,040202,093633,E12129.2252,N2459.8891,00161,0.0100,147, 07*37!" into: "GET /main.php?str=$355632000166323,1,1,040202,093633,E12129.2252,N2459.8891,00161,0.0100,147, 07*37! HTTP/1.1 Host: localhost" as i understood, it`s possible in several w

Re: Weird problem - local variable appears to be available in 2 instances of mod-perl

2007-06-05 Thread Jonathan Vanasco
Steven- Variables in mod_perl are persistant - you need to make use of 'my' to reinitialize the variable on each suroutine call look for 'scoping' in the docs. there are several sections. consider the following, which is very likely what you have package handler; my $world; function hell

Weird problem - local variable appears to be available in 2 instances of mod-perl

2007-06-05 Thread Steven Heimann
I am new to mod_perl but have been using perl over the years for various text processing needs. I needed to extract and modify data on the fly for our web site and thought mod_perl would be perfect. The Ubuntu Breezy package installation worked fine and mod perl seemed to work correctly. The lin