Tesing Protocol Handlers got strange result!

2006-02-17 Thread LUKE
Then code is from http://perl.apache.org/docs/2.0/user/handlers/protocols.html Command Server. When i start to test. It will not response Welcome Message until i type enter. Why?   The FTP Server or SMTP Server will response Welcome Message first. If i want to implement those protocol using A

Re: [FRIDAY] Trivia Question

2006-02-17 Thread Larry Leszczynski
Why is brian d joy's name uncapitalized on the cover of the 4th edition of the Llama book? It's brian d foy and because he wants it that way: http://www252.pair.com/comdog/style.html

Re: [FRIDAY] Trivia Question

2006-02-17 Thread Tyler MacDonald
Mark Galbreath <[EMAIL PROTECTED]> wrote: > Why is brian d joy's name uncapitalized on the cover of the 4th edition of > the Llama book? I always thought it was brian d foy (http://search.cpan.org/~bdfoy/).. and he did it because he likes it that way. :) - Tyler

[FRIDAY] Trivia Question

2006-02-17 Thread Mark Galbreath
Why is brian d joy's name uncapitalized on the cover of the 4th edition of the Llama book?

Re: A question for the newbies

2006-02-17 Thread Mark Galbreath
This was a cool interjection of cosmic coincidence.  I'm sitting here reading the 4th Edition of "Learning Perl."  I wore the other editions out.  I have "Learning Perl Objects, References & Modules" on the shelf right next to me.    Thanks for the great reads (and the sense of humor) over the ye

Re: A question for the newbies

2006-02-17 Thread Randal L. Schwartz
> "Frank" == Frank Wiles <[EMAIL PROTECTED]> writes: Frank> Someone correct me if I'm wrong, but I seem to remember that the Frank> first couple of versions of PHP were written in mod_perl. Then Frank> again I could be suffering from sleep deprivation! :) >From what I recall, the *fir

Re: A question for the newbies

2006-02-17 Thread Mark Galbreath
I've worked with PHP since 4.2 and I think its a nice language.   For somebody else.  I bloody well hate it.   Mark>>> Frank Wiles <[EMAIL PROTECTED]> 17-Feb-06 18:02:47 PM >>> On Fri, 17 Feb 2006 16:54:23 -0600"will trillich" <[EMAIL PROTECTED]> wrote:> as for php, it's a nice language, in no sm

Re: A question for the newbies

2006-02-17 Thread Frank Wiles
On Fri, 17 Feb 2006 16:54:23 -0600 "will trillich" <[EMAIL PROTECTED]> wrote: > as for php, it's a nice language, in no small part due to its grammar > being so perl-like. my theory is: php arose because pete (isn't that > the first P in PHP? pete's home page?) wanted a module built in to > apache

Re: A question for the newbies

2006-02-17 Thread will trillich
On 2/16/06, Clinton Gormley <[EMAIL PROTECTED]> wrote: > It seems to me that a lot of people new to mod_perl and > to Perl have joined this mailing list recently. i'm a perl hack, not all that comfy with the myriad modules available, but can make it do what i need. as for php, it's a nice languag

Re: detecting server start, stop, graceful in startup.pl

2006-02-17 Thread Philippe M. Chiasson
Ken Perl wrote: > Better than before, but only 'start' works. > > debian:~/WebGUI# apache2ctl -k start > [Fri Feb 17 22:34:21 2006] preload.perl: Program is starting > Loading WebGUI.conf > debian:~/WebGUI# apache2ctl -k graceful > [Fri Feb 17 22:34:55 2006] preload.perl: Program is starti

How to require an MB subclass in a CPAN friendly way?

2006-02-17 Thread Tyler MacDonald
Here's what I've got so far: http://search.cpan.org/src/CRAKRJACK/Schema-RDBMS-AUS-0.01/Build.PL I'm forcing the "install" action to fail without the Module::Build subclass in DBIx::Migration::Directories (which I've noticed lately has a few similarities with App::Build), because without

Re: A question for the newbies

2006-02-17 Thread Clinton Gormley
On Fri, 2006-02-17 at 19:08 +0100, Daniel McBrearty wrote: > Frank, what's the light/heavy approach? > http://perl.apache.org/docs/1.0/guide/scenario.html#One_Plain_and_One_mod_perl_enabled_Apache_Servers

Re: A question for the newbies

2006-02-17 Thread Daniel McBrearty
Frank, what's the light/heavy approach?On 2/17/06, Frank Wiles <[EMAIL PROTECTED]> wrote: On Fri, 17 Feb 2006 06:31:21 -0500 (EST)Jeff Pang <[EMAIL PROTECTED]> wrote:> I do agree mod_perl is a strong web-develop language.But I still> think it consume too much memory. Under my test,it's not so stabl

Re: A question for the newbies

2006-02-17 Thread Octavian Rasnita
From: "Jonathan Vanasco" <[EMAIL PROTECTED]> > > In a production environment, I found this: > HTML::Template::JIT was the fastest. it averaged something like . > 0003 seconds > Template::Toolkit was around .003 > Petal was around .008 (without pre-caching) > > my application logic was about .08

tip: solving " Apache::Reload: Can't locate " with CGI::Application

2006-02-17 Thread Mark Stosberg
In the past I've gotten log warnings like this: Apache::Reload: Can't locate ../../config/Config.pl Even though I had an absolute path to ../../config in the httpd.conf file. I thought I'd share what worked in case it is of use to someone else. Before: package MyPackage; use lib ('../../pe

Re: A question for the newbies

2006-02-17 Thread Jonathan Vanasco
On Feb 17, 2006, at 4:45 AM, Octavian Rasnita wrote: Yes, and you also forgot to say about the speed of this templating system which is very low comparing with other templating systems. Teddy Petal is slow because of the way is implemented. Template::Tal i s a bit faster, but doesn't cac

Re: A question for the newbies

2006-02-17 Thread Frank Wiles
On Fri, 17 Feb 2006 06:31:21 -0500 (EST) Jeff Pang <[EMAIL PROTECTED]> wrote: > I do agree mod_perl is a strong web-develop language.But I still > think it consume too much memory. Under my test,it's not so stable as > fast-cgi,and eat much more memory than fast-cgi.Maybe the truth is > not so,it'

Re: A question for the newbies

2006-02-17 Thread Frank Wiles
On Fri, 17 Feb 2006 11:36:08 +0800 "Foo Ji-Haw" <[EMAIL PROTECTED]> wrote: > I think people choose templating engines depending on how they want > to use it. For me, HTML::Template is fairly ideal because it > encourages me to focus on the business logic, and abstracts the > presentation fairly we

Re: detecting server start, stop, graceful in startup.pl

2006-02-17 Thread Ken Perl
Better than before, but only 'start' works. debian:~/WebGUI# apache2ctl -k start [Fri Feb 17 22:34:21 2006] preload.perl: Program is starting Loading WebGUI.conf debian:~/WebGUI# apache2ctl -k graceful [Fri Feb 17 22:34:55 2006] preload.perl: Program is starting Loading WebGUI.conf

Properly returning from ModPerl::Registry -run scripts

2006-02-17 Thread Ole Kasper Olsen
Hi, I have quite a lot of scripts which are run through mod_perl on Apache2 with the ModPerl::Registry module. In many cases, I want to return status codes different from Apache2::Const::OK when the scripts ends, for example a Apache2::Const::REDIRECT in case of the script redirecting the user t

Re: Broken pipe

2006-02-17 Thread Jeff Pang
>From the 'Practical mod_perl' book, When a user presses the Stop or Reload button, the current socket connection is broken (aborted). If the reading of the request's data is completed and the code does its processing without writing anything back to the client, the broken connection won't be

Re: Broken pipe

2006-02-17 Thread Ian Joyce
See LogLevel[1]. 1: http://httpd.apache.org/docs/1.3/mod/core.html#loglevel --Ian On 2/17/06, Octavian Rasnita <[EMAIL PROTECTED]> wrote: > Hi, > > I have seen in the error log of Apache the following line (for more times, > exactly the same): > [Fri Feb 17 13:58:04 2006] [info] [client 83.103.2

Broken pipe

2006-02-17 Thread Octavian Rasnita
Hi, I have seen in the error log of Apache the following line (for more times, exactly the same): [Fri Feb 17 13:58:04 2006] [info] [client 83.103.222.187] (32)Broken pipe: core_output_filter: writing data to the network I can see [info]. Do this means that it is not a real error but just a warni

Re: A question for the newbies

2006-02-17 Thread Jeff Pang
I do agree mod_perl is a strong web-develop language.But I still think it consume too much memory. Under my test,it's not so stable as fast-cgi,and eat much more memory than fast-cgi.Maybe the truth is not so,it's just my test result. I know the famous email site www.postmaster.co.uk is running u

Re: A question for the newbies

2006-02-17 Thread Octavian Rasnita
From: "Jonathan" <[EMAIL PROTECTED]> > Just because I like to advocate TAL: > > > > First item? > Even item? > Odd item? > Replaced by Foo{'blah'}{'var'} > Replaced by Foo{'blah'}->method() > > > > > template: > renders in browser without code, as it would be seen > i

MP2 Getting to the VirtualHost server object during start-up

2006-02-17 Thread Peter, Attila
Title: MP2 Getting to the VirtualHost server object during start-up List, I want to access the server configuration of a virtual host from a module loaded via PerlPostConfigRequire after the config phase is done but before the server is ready to serve requests. In a main server that wou