On Apr 27, 2010, at 4:16 AM, André Warnier wrote:
So, back to the basics, my interpretation : by default, consider
any variable as global/shared and you'll generally stay out of
trouble.
Isn't it true that a variable declared (with my) inside of a
sub (including a handler) starts its
See what happens if you replace the 2 lines between the should bes
with
if ($article_file =~ /^([a-zA-Z0-9_-]*\.html)$/) {$article_file = $1}
I've can't recall seeing 'undef my' before.
my $error = undef; is more typical.
How is this routine executed? Under ModPerl::Registry?
cmac
On Apr
Hi,
IPC::MMA and its underlying MM library are written entirely in C.
I originally got into this business when I read some user reviews
that said that the predecessor module IPC::MM was the fastest
module of its kind that they could find.
IPC::MMA cleaned up several things in IPC::MM, including
Just thought to add:
One of the most interesting uses of IPC::MMA is to create a shared
memory in a PerlPostConfigHandler, and then use it to tie scalars or
arrays or hashes in other modules into the shared memory.
In write-seldom, read-mostly applications like the cache hash in
Image::Size,
If $r scares you, are $c = $r-connection() and $s = $r-server()
truly terrifying :-)
cmac
On Jan 15, 2010, at 4:08 PM, Tosh Cooey wrote:
It's probably obvious, but $r kinda scares me. I guess I saw
subprocess_env in the docs and so that's where I stopped... What a
couple centimeters
Mr. Sin, I can't tell from your email exactly what isn't working
for you, so will assume that you have similar problems as Mr. N.
From my experience, the problem may be FreeBSD + libapreq2 2.12.
My site runs FreeBSD 6.3. I could not get libapreq2 2.12
and associated Perl linkages
Been away from my computer for several days :(
Doesn't look like anyone is going to answer this.
Maybe you missed some of the emails that Clinton
Gormley and I were exchanging a while back. I've
been using 'sudo apachectl graceful' on apache
2.2.11 and 2.2.13 with mod_perl 2.0.4 and 2.0.5 SVN
On Sep 25, 2009, at 10:36 AM, Jonathan Swartz wrote:
As I understand it, the sole purpose of this double initialization
is to make sure that graceful restarts will work. However, since I
was a young mod_perl lad I've been taught never to rely on graceful
restarts, and always to stop/start.
On Sep 26, 2009, at 4:17 AM, Clinton Gormley wrote:
I'm using apache 2.2.9, mod_ssl 2.2.9 and mod_perl 2.04, and I still
have problems with graceful-restart.
You are 4 releases behind. Download 2.2.13 and I bet graceful will
work for you. (Bet's off if you have something systemically
Fred Moyer and Michael Peters were correct about not wanting to
have 5.8.x libraries under perl 5.10.1. As soon as I built a
5.10.1 cleanly with no retained libraries, the undef's in
Dynaload in mod_perl2 make test went away.
The biggest remaining problem was getting apreq2-2.12 to build
I run FreeBSD + Apache2 + mp2. CPAN 'test Apache::Reload'
yields 'pass'. Subsequent CPAN 'test Apache2::Reload'
wants to use the same module, so it says 'Has already been
tested successfully'.
cmac
On Sep 3, 2009, at 3:59 AM, Foo JH wrote:
Hello guys,
I'm wondering if there is any1 using
Hi Fred,
Decided to look at the source found by your 'ack'.
It turns out that, in file pad.c, someone in the perl 5.10.0 or 5.10.1
project decided that the Perl_pad_sv routine was only needed if
-DDEBUGGING was specified for the Perl build.
Fixed this by commenting out the #ifdef DEBUGGING at
On Sep 2, 2009, at 6:21 AM, Michael Peters wrote:
cr...@animalhead.com wrote:
I have always included previous perl libraries in the @INC of
new builds. And it has always worked, with the single
exception of building mod_perl2 this time. All of the perl
scripts and modules on my site work
A bit more data on the problem reported below:
/build/modperl-2.0 $ grep -r Perl_pad_sv *
Binary file src/modules/perl/mod_perl.so matches
/build/modperl-2.0 $ ll src/modules/perl/mod_perl.so
-rwxr-xr-x 1 user wheel 1559168 Aug 29 21:22 src/modules/perl/
mod_perl.so
/build/modperl-2.0 $ cd
But this is the mod_perl mailing list. It is the place to which
one sends reports of bugs or problems with mod_perl. I sent such
a report, citing this undefined symbol when building mod_perl2.
It is hard for me to imagine that the fact that I gave the perl
build process a list of directories
-8-- Start Bug Report 8--
1. Problem Description:
I have upgraded to Apache 2.2.13 and Perl 5.10.1. Both seem to be
working OK,
although Apache with using my old mod_perl 2.04 that uses perl 5.8.9.
make test in both the release mod_perl 2.0.4 and the
On Aug 27, 2009, at 10:43 AM, Bill Moseley wrote:
On Wed, Aug 26, 2009 at 3:43 AM, cr...@animalhead.com wrote:
The short story is that it's a mod_perl2 mechanism for optimizing
the KeepAlive option in the Apache2 server. The long story is at
http://www.animalhead.com/CloseKeepAlive.html
I'm working toward contributing a module with this working title
to CPAN, and would like your comments and advice.
The short story is that it's a mod_perl2 mechanism for optimizing
the KeepAlive option in the Apache2 server. The long story is at
http://www.animalhead.com/CloseKeepAlive.html
On Aug 26, 2009, at 7:03 AM, Perrin Harkins wrote:
What's GP Perl?
The general purpose Perl library is headed at /usr/local/lib/perl5
on my system. What I was asking is whether there's any reason
to put Apache2::CloseKeepAlive in it, being as it's so specialized,
or just copy it to a
On Aug 26, 2009, at 9:05 AM, Perrin Harkins wrote:
On Wed, Aug 26, 2009 at 11:41 AM, cr...@animalhead.com wrote:
The general purpose Perl library is headed at /usr/local/lib/perl5
on my system. What I was asking is whether there's any reason
to put Apache2::CloseKeepAlive in it, being as it's
Including a note about how to do something in an installation dialog,
for people who wouldn't otherwise know, is not controlling anything.
If that's against CPAN principles, the principles need some work!
cmac
On Aug 26, 2009, at 9:30 AM, Perrin Harkins wrote:
On Wed, Aug 26, 2009 at 12:21
The installation process needs to know at least:
1. where the accompanying DB-building script should go
2. where the DB that the app builds should go
How can such necessary things be determined, other than by asking
the user?
I was just going to add a note before or after these two queries,
On Aug 26, 2009, at 11:44 AM, Michael Peters wrote:
cr...@animalhead.com wrote:
The installation process needs to know at least:
1. where the accompanying DB-building script should go
Module::Build knows where to put bin/ or script/ files and it does
so according to how Perl and CPAN are
Is there anything a mod_perl2 child_init phase can do to call attention
to a problem?
I moved a block of code from a post_config handler to a new child_init
handler, without thinking much about the niceties of the move. The
code contained a couple of 'die' statements, which I trust would
Trying to shift our largely mod_perl2 web site to an Apache2 threaded
MPM and perl ithreads.
The following works under the non-threaded prefork MPM:
use DB_File;
my @dbs; # array of hash references
my @dbModTime; # mod times of db files
my @dbfns; # array of database pathnames
#
-freebsd'.
Thanks for your help,
cmac
On Dec 27, 2008, at 11:44 PM, Philip M. Gollucci wrote:
Philip M. Gollucci wrote:
Craig MacKenna wrote:
On Dec 24 00:57, Philip M. Gollucci pgollu...@p6m7g8.com wrote:
Subject: Re: [mp2] undefined symbol in make test with threaded
Apache 2.2.11
If you
I'm about to try a threaded MPM for my largely mod_perl2-based web site.
Maybe my search skills are going downhill, but I haven't found much
material about how to modify my scripts for the threaded environment.
The first step is done, namely to minimize use of global variables. I'm
pretty sure
On Dec 24 00:57, Philip M. Gollucci pgollu...@p6m7g8.com wrote:
Subject: Re: [mp2] undefined symbol in make test with threaded Apache 2.2.11
cr...@animalhead.com wrote:
Neither mod_perl 2.0.4 nor the current build modperl-2.0_20081223052020
If you're going to do that 'current build', I'd
As Adam Prime notes, 5.8.9 became the current stable Perl recently.
It is the other new ingredient besides Apache 2.2.11. I don't
normally introduce so many new things at once, but happen to be
working through a new sandbox/developmental version of our website.
One of the Apache developers
This is my first attempt at using a threaded MPM.
Sorry but I don't have time to try prefork build of Apache 2.2.11.
Leaving town tomorrow but will monitor email for comments on this.
Thanks,
cmac
www.animalhead.com
-8-- Start Bug Report 8--
1. Problem
My mod_perl2 scripts mostly fall into 2 categories:
1) scripts that are called by URL location, and generate complete
content-pages
2) scripts that are called by SSI include virtual sequences
in .html files, and generate part of a page
In some cases scripts of type 1 directly call scripts
-8-- Start Bug Report 8--
1. Problem Description:
Per suggestion made in this forum, I gave up on static build and am
building dynamic.
Now I get 2 errors in make test, plus undef errors during 'sudo make
install'
t/hooks/authen_basic1..4
#
mention --enable-debug. Compiling some of the ssl stuff
(in an
Apache build without mod-perl) made warnings about prototypes...
Thanks,
Craig MacKenna
www.animalhead.com
-8-- Start Bug Report 8--
1. Problem Description:
1.1 attempting to static-build mod_perl 2.0.4 and apache 2.2.10, is
the following
warning right at the end of the Makefile.PL output worrisome?
[warning] mod_perl static library will be built as
Hi tomás,
Info is filled in below.
One other Q: what is the protocol for when to reply to just
one person (reply) vs. the whole list (reply all)?
Best Regards,
Craig
On Jan 19, 2007, at 4:25 AM, [EMAIL PROTECTED] wrote (in part):
Hm. Looks sane to me. But somehow 'localhost' seems to resolve
on the old (FreeBSD4)
system. So of course the response to the form submission took
several minutes.
I will pursue this difference with my ISP and the author of the
package.
Sorry to have bothered the list about such a thing...
Craig MacKenna
Los Gatos, CA
by my hosting provider (Verio).
Does this sound familiar? Could it be avoided by newer versions of
any of the software?
Craig MacKenna
Los Gatos, CA
. If not, where can I post one, so this can be fixed for other people?
Thanks for your help,
Craig MacKenna
www.animalhead.com
On Jan 18, 2007, at 5:26 PM, Jonathan Vanasco wrote:
On Jan 18, 2007, at 8:14 PM, [EMAIL PROTECTED] wrote:
You are correct. Turning off keepalive fixes the problem.
(We're
-8-- Start Bug Report 8--
1. Problem Description:
Two failures in make test building mod_perl 2.0.3
2. Used Components and their Configuration:
*** mod_perl version 2.03
*** using /tmp/mod_perl-2.0.3/lib/Apache2/BuildConfig.pm
*** Makefile.PL
in
advance for any responses. I appreciate your time.
Craig Tussey
[EMAIL PROTECTED]
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
) show the
proper length in the log?
Thanks to anyone who can help,
Craig MacKenna
Los Gatos, CA
408-353-5037
contains:
use lib qw(/usr/local/apache2/perl);
1;
Not sure if this will work with your version of apache.
Cheers,
Craig
On Tue, 26 Oct 2004 23:25:49 -0700 (PDT), mahboobeh soleimani
[EMAIL PROTECTED] wrote:
Hi every body.
I have a apache 1.3.31 and mod_perl 1.28 and used
Files *.pl
references, the
problem still exists.
Windows XP Pro is having the exact same problem too.
Thanks, Craig
-Original Message-
From: Randy Kobes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 21:15
To: Craig Dayton
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE
the
compiler didn't like '-Gf'. I don't mind doing compile tests, if you need
that support.
-Craig
-Original Message-
From: Frank Wiles [mailto:[EMAIL PROTECTED]
Sent: Friday, April 09, 2004 08:17
To: Craig Dayton
Cc: [EMAIL PROTECTED]
Subject: Re: Apache::DB ported to mp2
Hi Craig,
I
Thanks Randy,
You got it. After adding '#define SIGINT 2' to DB.xs, it compiled just
fine.
-Craig
-Original Message-
From: Randy Kobes [mailto:[EMAIL PROTECTED]
Sent: Friday, April 09, 2004 17:15
To: Craig Dayton
Cc: 'Frank Wiles'; [EMAIL PROTECTED]
Subject: RE: Apache::DB ported
Hi Frank,
Thanks for the Update.
In compiling with 'VS .Net 2003', the error shown below is generated.
-Craig
E:\Perl\cpan\build\Apache-DB-0.07nmake
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
cl -c
Has anyone gotten this type of error when installing
modperl: /usr/bin/ld: cannot find -lperl?
-mod_perl-1.28
-apache_1.3.29
clm
__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
--
Reporting bugs:
Better yet here's the complete error message:
commmand:
perl
Makefile.PLAPACHE_SRC=/home/cmcmillo/src/apache_1.3.29
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
error:
Error Output for sanity check
cd ..; cc -DLINUX=22 -DMOD_PERL -DUSE_PERL_SSI
-D_REENTRANT -DTHREADS_HAVE_PIDS
Sorry about just responding to you Stas and not the
list(still getting use to that). Anyway yes, your
suggestions below worked well. Thanks again.
clm
--- Stas Bekman [EMAIL PROTECTED] wrote:
Craig McMillon wrote:
Here it is Thanks
perl -V
Summary of my perl5 (revision 5.0 version 8
49 matches
Mail list logo