Re: Using non-response handler only

2001-10-24 Thread Stas Bekman
Ged Haywood wrote: Hi there, On Tue, 23 Oct 2001, Issac Goldstand wrote: Just out of curiosity: are there any efficiency issues regarding using mod_perl for the exclusive use of a phase other than the response? In other words, if I want a script to do something other than return a

Re: Newbie having problems

2001-10-24 Thread Stas Bekman
John Michael wrote: I have seen and read through the guide, but will read through it again as you have suggested. I do have use stricts in my scripts. I also get a lot of these things when I run it with the -w option. ;' called at

Re: p5ee list active

2001-10-24 Thread Stas Bekman
Nathan Torkington wrote: 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?

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

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: 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 child until the

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: 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 2001

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: 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: 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 if

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

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: [EMAIL

Odd problem with Perl sections

2001-10-24 Thread Tom Mornini
I'm having a problem with Perl 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

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: Chris

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: 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 troubles

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 other way to look at it

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 in

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 exist

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: Odd problem with Perl sections

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

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 a web

mirror.html is full of dead links

2001-10-24 Thread Stas Bekman
Ask, should we delete http://perl.apache.org/mirror.html? what's the point of having a bunch of dead links? _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide

Re: [preview 1] new mod_perl site concept

2001-10-24 Thread Nathan Torkington
Stas Bekman writes: Notice that I've just taken a few pages together, but let me know what you think. Nice. I assume that we're at the stage of criticising the design and not the text/ (I'd like you to use the text I came up with for my experiment at http://24.255.234.11/~gnat/modperl/).

Re: [preview 1] new mod_perl site concept

2001-10-24 Thread Stas Bekman
Nathan Torkington wrote: Stas Bekman writes: Notice that I've just taken a few pages together, but let me know what you think. email at apache.org is slow :( Nice. I assume that we're at the stage of criticising the design and not the text/ (I'd like you to use the text I