[ANNOUNCE] lingerd 0.94

2001-10-24 Thread Roger Espel Llima
I've been meaning to release an update to lingerd since I got it ported to FreeBSD and Solaris... since I can't find the time to do the cosmetic changes that have been in the TODO list for too long, I figure I'll leave those for later. Anyway, here it is... Lingerd version 0.94 has been release

Re: [OT] Perl daemons (was Re: Excellent article on Apache/mod_perl at eToys)

2001-10-24 Thread Roger Espel Llima
Matthew Kennedy <[EMAIL PROTECTED]> wrote: > Why exactly is that a dirty secret? I've been thinking about > writing one or two standalone poe daemons to handle interfacing > with other systems, and it doesn't seem like such a bad idea. [ ... ] > Is anyone else using independent perl processes in

Re: Odd problem with sections

2001-10-24 Thread Scott Lanning
On Wed, 24 Oct 2001, Tom Mornini wrote: >1 >2$ErrorLog = "|/home/tmornini/Source/ewingz/bin/spread_from_stdin.pl ERROR"; >3 > >4 ErrorLog "|/home/tmornini/Source/ewingz/bin/spread_from_stdin.pl ERROR" [snip] >When I use the section (which I need to allow the path to >spread_from_stdin.pl

Apache::Compress - any caveats?

2001-10-24 Thread Mark Maunder
I'm using Apache::Compress with Apache::Filter successfully and have modified it to only compress text/html (due to a bug in netscape 4.7). It's working fine with all version of the following browsers: Konqueror, Netscape, IE, Opera, Lynx and AOL. I was wondering if anyone has had any bad experien

tracing memory usage for modules in mod_perl??

2001-10-24 Thread Andrei A. Voropaev
Hi! Just wanted to check if it is possible to trace memory usage of each mod_perl modules. It's kind of does not look very realistic, but I do not know the whole truth... Thanks Andrei

Re: p5ee list active

2001-10-24 Thread Nathan Torkington
Stas Bekman writes: > > The list's goal is to create the Perl 5 Enterprise Extensions. > > Send mail to [EMAIL PROTECTED] to join. When we've decided > > on a path and start to code, I'll have a CVS repository created. > > any reason for hardcoding 5 in the name? Two reasons: * perl6 doesn't e

Re: namespace-troubles

2001-10-24 Thread Perrin Harkins
John Michael wrote: > I don't know if this will help. I know very litlle about mod perl, but most > of the people on this list don't seem to answer questions from beginners. Hmmm. You asked some questions that made it sound like you hadn't read the documentation, and you stil got 3 answers i

RE: When to use 'use' for accessing modules?

2001-10-24 Thread Geoffrey Young
> > > > > Is $ENV{foo}='bar'; in startup.pl equivalent to > > PerlSetEnv foo bar > > > > > in httpd.conf? > > > > > > > > Yes. > > well, not exactly. PerlSetEnv sets the subprocess_env table. > as a side effect of that, you get PerlSetEnv values in %ENV > if you have PerlSetupEnv On. The o

Re: namespace-troubles

2001-10-24 Thread Ged Haywood
Hi there, On Tue, 23 Oct 2001, John Michael wrote: > most of the people on this list don't seem to answer questions from beginners. [snip] > Does anyone know of a news group that answers mod perl questions? The mod_perl mailing list is the proper forum for such questions, but one of the trouble

Re: Using non-response handler only

2001-10-24 Thread Ged Haywood
Hi Stas, On Wed, 24 Oct 2001, Stas Bekman wrote: > Why, Ged? For the reasons I gave. I *said* I'd duck and run for cover :) 73, Ged.

RE: When to use 'use' for accessing modules?

2001-10-24 Thread Geoffrey Young
> -Original Message- > From: Perrin Harkins [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 24, 2001 1:41 AM > To: Steve Piner > Cc: Chris Allen; [EMAIL PROTECTED] > Subject: Re: When to use 'use' for accessing modules? > > > Steve Piner wrote: > > > > Perrin Harkins wrote: > >

Re: namespace-troubles

2001-10-24 Thread Rafiq Ismail
> > working fine, but as soon as I call the second adress I get a > > server-error. Restarting apache and I try the second first: running > > fine, but as soon as I call the first: server-error. > > Undefined subroutine &Apache::ROOTwww1_2domain_2eat::main called at I'm curious why you're you'

Odd problem with sections

2001-10-24 Thread Tom Mornini
I'm having a problem with sections that I'm pretty sure shows a bug of some sort in the code that handles this. I've looked around a bit and can't find any Perl that is responsible for generating the error show below, so I figured asking the list was the best next step. in httpd.conf: 1 2

Re: namespace-troubles

2001-10-24 Thread ryc
If you make the following change (putting fetch into a package..) fetch.lib.pl -- package fetch; sub main { ... } -- and then fetch.pl -- require fetch.lib.pl; foo::main(); -- This should solve your problem. ryan - Original Message - From: "Peter Pilsl" <[EMAIL PROTECTED]> To: <[EMAI

Re: Newbie having problems

2001-10-24 Thread John Michael
I have gone ahead and moved the script entirely over to mod perl using apache::registry and seting PerlWarn to on. I have repaired the initial errors and problems that occured and am glad to say that I have my first mod_perl script totally up and running. I have not had any errors as of lately(f

Re: Newbie having problems

2001-10-24 Thread Perrin Harkins
> John Michael wrote: > I am attempting first to ge them to run correctly under. > Apache::PerlRum Be careful of PerlRum! It will give you a wicked hangover! PerlRun is a quick way to port dirty scripts that you can't take the time to fix. It's the slowest way to run anything in mod_perl, but

Re: Excellent article on Apache/mod_perl at eToys

2001-10-24 Thread Perrin Harkins
Matthew Kennedy wrote >Is there a Perl equivalent to Struts? Mason seems to come close if you >keep yourself disciplined somewhat. > I mentioned a couple of tools in the article that are specifically aimed at MVC: OpenInteract, and Apache::PageKit. Actually, I think it's pretty easy to replace

Re: Excellent article on Apache/mod_perl at eToys

2001-10-24 Thread Mike808
Nathan Torkington wrote: > I like the idea of P2EE. Yeah. Maybe it will take off better than "Pervlets" did. Mike808/ -- perl -le "$_='7284254074:0930970:H4012816';tr[0->][ BOPEN!SMUT];print"

Re: namespace-troubles

2001-10-24 Thread David Young
Hey, it just so happens I was reading-up on the voluminous mod_perl documentation out there, and it would appear I stumbled across the answer to your problem: http://perl.apache.org/dist/mod_perl_traps.html#Perl_Modules_and_Extensions > From: Peter Pilsl <[EMAIL PROTECTED]> > Date: Wed, 24 Oct 2

Re: [OT] P2EE Redux was: Excellent article on Apache/mod_perl at eToys

2001-10-24 Thread Perrin Harkins
[EMAIL PROTECTED] wrote: > > I'm surprised that no one has, jokingly, suggested PEE. > > Sorry, couldn't resist. :) Neither could these people: http://pee.sourceforge.net/

Re: When to use 'use' for accessing modules?

2001-10-24 Thread Perrin Harkins
Steve Piner wrote: > > Perrin Harkins wrote: > > > Chris Allen wrote: > [...] > > > Is $ENV{foo}='bar'; in startup.pl equivalent to PerlSetEnv foo bar > > > in httpd.conf? > > > > Yes. > > Are you sure? I experimented a few months ago, and found that > $ENV{foo}='bar'; would only last in each c

Re: namespace-troubles

2001-10-24 Thread Stas Bekman
> Undefined subroutine &Apache::ROOTwww1_2domain_2eat::main called at > /data/public/stage2/fetch.pl line 9. it's all in the guide :) http://perl.apache.org/guide/porting.html#Name_collisions_with_Modules_and _ Stas Bekman

Re: namespace-troubles

2001-10-24 Thread John Michael
I don't know if this will help. I know very litlle about mod perl, but most of the people on this list don't seem to answer questions from beginners. I think you might try adding: use subs qw(main); in the top of your script. or instead of main() use &main() There are situations where you can't u