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
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
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?
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
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
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
[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/
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
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
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
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
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
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
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
-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
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.
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
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
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
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
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
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
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
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
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/).
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
26 matches
Mail list logo