Re: mod_perl for n00bs

2012-06-05 Thread Bill Stephenson
On Jun 5, 2012, at 7:37 AM, Mark Haney wrote: > > Honestly, it's really not even that complicated. I've been hearing that > using CGI.pm is 'outdated', 'uncool', whatever you want to call it. And > generally speaking the statement after that is about mod_perl. > > My entire reason behind aski

Re: mod_perl for n00bs

2012-06-05 Thread 'lesleyb'
On Tue, Jun 05, 2012 at 08:37:33AM -0400, Mark Haney wrote: > On 06/04/2012 09:25 PM, pangj wrote: > > > >>I want to understand why Mark thinks he needs mod_perl. If it's just > >>because he wants to speed up his app (soup up the engine) there might > >>be things he can do that don't require rewrit

Re: mod_perl for n00bs

2012-06-05 Thread Mark Haney
On 06/04/2012 09:25 PM, pangj wrote: I want to understand why Mark thinks he needs mod_perl. If it's just because he wants to speed up his app (soup up the engine) there might be things he can do that don't require rewriting a lot of code, or spending a lot of time learning a lot of new ways of

Re: mod_perl for n00bs

2012-06-04 Thread pangj
I want to understand why Mark thinks he needs mod_perl. If it's just because he wants to speed up his app (soup up the engine) there might be things he can do that don't require rewriting a lot of code, or spending a lot of time learning a lot of new ways of doing things. Me second. If the

Re: mod_perl for n00bs

2012-06-04 Thread Bill Stephenson
On Jun 4, 2012, at 8:57 AM, Chris Nehren wrote: >> >> Well, from all I've read and been told is that mod_perl is a better >> fit than using CGI.pm like I've been doing. > > Erg. CGI.pm is a terrible idea--runtime string eval and all that > silliness. Well, again, I disagree with that. This cam

Re: mod_perl for n00bs

2012-06-04 Thread Chris Nehren
On Mon, Jun 04, 2012 at 11:36:21 -0400 , Mark Haney wrote: > On 06/04/2012 09:57 AM, Chris Nehren wrote: > > > > >Erg. CGI.pm is a terrible idea--runtime string eval and all that > >silliness. Please investigate one of the lighter Plack/PSGI frameworks > >like Dancer and Web::Simple. Really, mod_p

Re: mod_perl for n00bs

2012-06-04 Thread Mark Haney
On 06/04/2012 09:57 AM, Chris Nehren wrote: Erg. CGI.pm is a terrible idea--runtime string eval and all that silliness. Please investigate one of the lighter Plack/PSGI frameworks like Dancer and Web::Simple. Really, mod_perl is the wrong tool for the job here. It's for writing Apache modules w

Re: mod_perl for n00bs

2012-06-04 Thread Chris Nehren
On Mon, Jun 04, 2012 at 08:42:43 -0400 , Mark Haney wrote: > On 06/03/2012 07:30 PM, Chris Nehren wrote: > > >Don't, unless you're writing Apache modules in Perl. There are much > >better choices for doing web dev in Perl, like Catalyst, Dancer, > >Web::Simple, etc., which all use Plack/PSGI. Thes

Re: mod_perl for n00bs

2012-06-04 Thread Mark Haney
On 06/03/2012 07:30 PM, Chris Nehren wrote: Don't, unless you're writing Apache modules in Perl. There are much better choices for doing web dev in Perl, like Catalyst, Dancer, Web::Simple, etc., which all use Plack/PSGI. These can all be deployed on any web server. Well, from all I've read a

Re: mod_perl for n00bs

2012-06-03 Thread pangj
There are some books listed there: http://perl.apache.org/docs/offsite/books.html#Books_mentioning_mod_perl Also you may want to join the modperl mailing list, that's an active list with many MP developers there. http://perl.apache.org/maillist/modperl.html Regards. What is the best book/tu

Re: mod_perl for n00bs

2012-06-03 Thread Chris Nehren
On Sun, Jun 03, 2012 at 17:35:05 -0400 , Mark Haney wrote: > What is the best book/tutorial/site/documentation out there to get > someone up to speed on mod_perl? I've looked around including the > apache site and I've put together bits and pieces, but I certainly > don't think I'm getting the who

Re: mod_perl: access full request, log it, etc

2009-08-23 Thread Bruce Ferrell
Dan wrote: > Hi all. > > I'm setting up a mod_perl & soap server, and a friend is writing a java > client. As I commented to him, it's a bit like the blind leading the > blind at this point :) > > His request is causing mod_perl to complain about not being able to > serialize the request, with

Re: Mod_Perl Pass Associative Arrays

2004-12-13 Thread Jenda Krynicky
From: James Taylor <[EMAIL PROTECTED]> > Chris Devers wrote: > > On Fri, 10 Dec 2004, James Taylor wrote: > > > > > >>Hi everyone, wondering if anyone knew how to pass an associative > >>array via POST to mod_perl. Something like: > > > > > > HTML forms don't really provide for complex data st

Re: Mod_Perl Pass Associative Arrays

2004-12-11 Thread James Taylor
Chris Devers wrote: On Fri, 10 Dec 2004, James Taylor wrote: Hi everyone, wondering if anyone knew how to pass an associative array via POST to mod_perl. Something like: HTML forms don't really provide for complex data structures, so any solution is going to have to be cobbled together. I thi

Re: Mod_Perl Pass Associative Arrays

2004-12-10 Thread Chris Devers
On Fri, 10 Dec 2004, James Taylor wrote: > Hi everyone, wondering if anyone knew how to pass an associative array > via POST to mod_perl. Something like: HTML forms don't really provide for complex data structures, so any solution is going to have to be cobbled together. I think your best bet

RE: Mod_Perl Target Headers

2004-11-05 Thread Thomas Bätzler
James Taylor <[EMAIL PROTECTED]> asked: > Should be a pretty simple question, looking for an option in > header_out to target a frame. [...] > Was hoping I could do something like: > $r->header_out('Target'=>'_top'); > > but that doesn't seem to work. Any suggestions? The destination window for

Re: Mod_Perl Target Headers

2004-11-04 Thread Chasecreek Systemhouse
On Thu, 04 Nov 2004 20:54:35 -0800, James Taylor <[EMAIL PROTECTED]> wrote: > $r->header_out('Location' => 'http://www.somesite.com/login_expired.html'); Use a client-site anchor to get the client to pull the frame via a normal target. Only the

RE: mod_perl and inheritance

2002-07-15 Thread PURMONEN, Joni
ONEN, Joni'; '[EMAIL PROTECTED]' Subject: RE: mod_perl and inheritance > -Original Message- > From: PURMONEN, Joni [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 09, 2002 9:55 AM > To: '[EMAIL PROTECTED]' > Subject: RE: mod_perl and inheritance > >

RE: mod_perl and inheritance

2002-07-09 Thread Bob Showalter
> -Original Message- > From: PURMONEN, Joni [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 09, 2002 9:55 AM > To: '[EMAIL PROTECTED]' > Subject: RE: mod_perl and inheritance > > > > Need to see the script and the error messages. Is > Apache

RE: mod_perl and inheritance

2002-07-09 Thread PURMONEN, Joni
> Need to see the script and the error messages. Is Apache::Registry the handler? Yes it is. The error messages just complain about not being able to locate a given method, which should be inherited (and is inherited if I move the script to CGI area). the script runs to couple thousand lines,

RE: mod_perl and inheritance

2002-07-09 Thread Bob Showalter
> -Original Message- > From: PURMONEN, Joni [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 09, 2002 9:21 AM > To: '[EMAIL PROTECTED]' > Subject: mod_perl and inheritance > > > Hello all, > > I just moved my perfectly functioning script from normal CGI area to > mod_perl area and the w

Re: mod_perl with existing apache (with apologies for parroting...)

2002-05-01 Thread Matt C.
Ultimately you really should build mod_perl as a static module inside of Apache. Try rebuilding it statically with all your other dso stuff, which is well documented in the mod_perl INSTALL docs. That will make your life much easier. Matt --- Robert Beau Link <[EMAIL PROTECTED]> wrote: > -BE

Re: mod_perl

2002-04-26 Thread Beau
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 26 April 2002 01:21 am, Jonathan E. Paton wrote: > Okay, here is the problem: > > version 5.6.0 = version 5.006 Jonathan, Thanks for this. More than a little arcane, exactly the kind of thing I can imagine taking years to discover on my o

Re: mod_perl

2002-04-26 Thread Jonathan E. Paton
> You are running Perl version 5.006 > We strongly suggest to upgrade to at least 5.6.1 > Reading Makefile.PL args from @ARGV > Unable to determine server version, aborting > Please specify MP_APXS or MP_AP_PREFIX > > To make matters worse, rpm -q perl tells me I'm running perl-5.6.0-12, > quite

RE: mod_perl

2002-04-25 Thread Wayne Dyck
Robert: > To make matters worse, rpm -q perl tells me I'm running perl-5.6.0-12, > quite a wais from the claim of 5.006. From the command line perl -v > gives me, "This is perl, v5.6.0 built for i386-linux" Did you by any chance install perl-5.6.0 from CPAN? I have had something like this happe

Re: Mod_Perl -- A very basic question to get started

2002-04-13 Thread Matt C.
To me, this is a surprisingly tough question to answer. I'd say that the primary use of mod_perl is to speed up your pages via Apache::Registry, Apache::PerlRun or your own handlers. However, it's much more than that. 2 keys for me both personally and professionally are: 1) It allows you to do dy

RE: Mod_Perl -- A very basic question to get started

2002-04-12 Thread Bob Showalter
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 12, 2002 10:28 AM > To: [EMAIL PROTECTED] > Subject: Mod_Perl -- A very basic question to get started > > > > Hello Friends, > > I have all the web-development done in ASP for W2K with IIS

Re: Mod_perl insight

2001-12-10 Thread Etienne Marcotte
http://perl.apache.org/guide/ That is the place As for scripts, well if you are already coding strict, not declaring file scoped variables, it should not be very difficult. The guide gives the most common "mistakes" and ways to correct them. The best thing is to test your scripts on a local net

Re: mod_perl

2001-10-24 Thread Etienne Marcotte
Etienne Marcotte [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, October 24, 2001 1:39 PM > > To: Brett W. McCoy > > Cc: [EMAIL PROTECTED] > > Subject: Re: mod_perl > > > > > > Ok, thanks for the infos. > > > > Do I need to type use mod_perl; in

RE: mod_perl

2001-10-24 Thread Bob Showalter
> -Original Message- > From: Etienne Marcotte [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 24, 2001 1:39 PM > To: Brett W. McCoy > Cc: [EMAIL PROTECTED] > Subject: Re: mod_perl > > > Ok, thanks for the infos. > > Do I need to type use mod_perl;

Re: mod_perl

2001-10-24 Thread Brett W. McCoy
On Wed, 24 Oct 2001, Etienne Marcotte wrote: > Do I need to type use mod_perl; in scripts? No, it's handled through the Apache server configuration, although there are Apache::* modules that can be used for extra functionality. > And is scipting in strict enough as of "good" scripting is involv

Re: mod_perl

2001-10-24 Thread Etienne Marcotte
Ok, thanks for the infos. Do I need to type use mod_perl; in scripts? And is scipting in strict enough as of "good" scripting is involved? Etienne "Brett W. McCoy" wrote: > On Wed, 24 Oct 2001, Etienne Marcotte wrote: > > > I read often about that mod_perl that makes perl run a lot faster and

Re: mod_perl

2001-10-24 Thread Brett W. McCoy
On Wed, 24 Oct 2001, Brett W. McCoy wrote: > See http://perl/apache.org for more information, if you are interested. Oops, that should be http://perl.apache.org -- Brett http://www.chapelperilous.net/

RE: mod_perl

2001-10-24 Thread Bob Showalter
> -Original Message- > From: Etienne Marcotte [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 24, 2001 12:13 PM > To: [EMAIL PROTECTED] > Subject: mod_perl > > > I read often about that mod_perl that makes perl run a lot faster and > etc. mod_perl is an Apache module that integrat

Re: mod_perl

2001-10-24 Thread Brett W. McCoy
On Wed, 24 Oct 2001, Etienne Marcotte wrote: > I read often about that mod_perl that makes perl run a lot faster and > etc. I tought until now that it was "by default" mod_perl when it's > with the apache distribution, but Brett stated: "and CGI::Carp has > some problems when run under mod_perl"

Re: mod_perl

2001-07-05 Thread Francisco Ho
At 01:20 PM 07/05/2001 +0530, you wrote: >Hi All > >Today I installed Indigo Perl on my system and when I tried the sample >code which came along with the installation to test mod_perl it gave an >error as "Page not found" > >I checked the following before posting >a) I found that the file exist

Re: mod_perl

2001-04-24 Thread Matt Cauthorn
Check out http://www.activestate.com/ for information on a mod_perl windows environment. Be warned that Apache is still considered somewhat experimental with Windows! ~Matt __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great pric

Re: mod_perl

2001-04-24 Thread Gary Stainburn
Hi Mo, The command line arguments are passed to your perl script in the array @ARGV, so in your example "data1" would be held in the 1st element of @ARGV which is $ARGV[0]. check out 'man perlvar' for more info. Gary On Tuesday 24 April 2001 11:53 am, Mo Holkar / UKG wrote: > Hi all, > > Thi

Re: mod_perl

2001-04-24 Thread Russell
Hi there, On Tue, Apr 24, 2001 at 04:05:38PM +0530, Joel Divekar wrote: > What is mod_perl ? I have Apache Server installed on my system. Please can > anybody mail me windows installable and its tutorials and other docs directly. Basically, mod_perl is a Perl interpretter embedded in Apache. It

Re: mod_perl

2001-04-24 Thread Mo Holkar / UKG
Hi all, This is a very dim question, but hey, this is a beginners' list so I hope you'll forgive me. I want to be able to pass variable data arguments to my perl script from an outside application by calling a command line that's something along the lines of: perl myscript.pl "data1" "data