Indeed.
All that might be needed is a small...
=head1 COMPATIBILITY
Apache::DBI is compatible with both the mod_perl 1 and mod_perl 2 APIs.
... somewhere very near the beginning of the POD. (personally I'd have
it right after the synopsis and before the description).
And I'd recommend this
[diarmuid, please don't forget to Reply-All and CC the list on your follow
ups]
my $q = new CGI;
my $action = 'SchoolWeb::Actions::' . ($q->param('action') || 'Index');
eval "use $action";
When you eval you need to check $@ for errors. See 'perldoc -f eval' for
more information.
Gokul P. Nair wrote:
Thanks for the link Stas. I'm still stumped as what
could be the problem though, because the version of
perl i'm using i.e. v5.8.6 is statically linked as is
evident from the output of this command:
perl -V:useshrplib
useshrplib='false';
In the future please always submit
Matt Hahnfeld wrote:
> I was going through the filters documentation for mod_perl 2.0 here:
>
> http://perl.apache.org/docs/2.0/user/handlers/filters.html
>
> Under "All-in-one" filter, there's some source code for Dump.pm. Run
> on my system under mod_perl 2.0.0 and Apache 2.0.54, it returns t
Thanks for the link Stas. I'm still stumped as what
could be the problem though, because the version of
perl i'm using i.e. v5.8.6 is statically linked as is
evident from the output of this command:
perl -V:useshrplib
useshrplib='false';
but then there is only one instance of libperl.a and
there
I was going through the filters documentation for mod_perl 2.0 here:
http://perl.apache.org/docs/2.0/user/handlers/filters.html
Under "All-in-one" filter, there's some source code for Dump.pm. Run
on my system under mod_perl 2.0.0 and Apache 2.0.54, it returns the
following error:
Can't locate
On Tuesday 07 June 2005 18:47, John Ferrell wrote:
> Can't locate object method "dir_config" via package "Apache2::RequestRec"
> at /usr/local/apache2/mod_perl/Auth/GateKeeper.pm line 16.\n
use Apache2::RequestUtil ();
and it should work.
Torsten
pgpsmwvfv1yLi.pgp
Description: PGP signature
John Ferrell wrote:
> I am new to mod_perl. I am trying to test the PerlAccessHandler using the
> Apache::GateKeeper package. However I am having trouble with the
> dir_config() method. When I access the URL I get an error 500 and the
> apache log shows:
>
> Can't locate object method "dir_co
I am new to mod_perl. I am trying to test the PerlAccessHandler using the
Apache::GateKeeper package. However I am having trouble with the
dir_config() method. When I access the URL I get an error 500 and the
apache log shows:
Can't locate object method "dir_config" via package "Apache2::Reque
William McKee wrote:
Stas,
It's been awhile, but I'm back to working on these tests under FreeBSD
5.3 with mp2. I'm using the current release (2.0.0) with Apache 2.0.54.
The root of many of my problems appears to be how Apache is resolving my
localhost address. Apparently FBSD resolves localhost
diarmuid ryan wrote:
Hi,
I am having trouble with a modperl app i am currently developing. i browse a
couple of pages
and perform a few actions but after a short time i am getting a blank
response from the server, see access log below, which indicates nothing in
the bytes returned part. no error
William McKee wrote:
-8<-- Start Bug Report 8<--
1. Problem Description:
When using Image::Magick (either 6.1.9.4 or 6.2.3) under mod_perl, the
server segfaults. Used at the command line or under mod_cgi there are no
errors.
A core dump is attached. This
Hi,
I am having trouble with a modperl app i am currently developing. i browse a
couple of pages
and perform a few actions but after a short time i am getting a blank
response from the server, see access log below, which indicates nothing in
the bytes returned part. no errors show in the error log
William McKee wrote:
On Tue, Jun 07, 2005 at 09:34:29AM +1000, Stas Bekman wrote:
William, as you can see from the source src/modules/perl/modperl_util.h
#if defined(MP_TRACE) && defined(APR_HAS_THREADS)
#define MP_TRACEf_TID "/tid 0x%lx"
#define MP_TRACEv_TID (unsigned long)apr_os_thread_
14 matches
Mail list logo