[EMAIL PROTECTED] wrote:
Can I do something like this?
from
$sth = getVUser($dbh, $u, $d);
return $sth->rows();
to
return (getVUser($dbh,$u,$d))->rows();
a move from java->perl ;)
Please don't cross-post irrelevant to mod_perl questions in the future.
Thank you.
___
Can I do something like this?
from
$sth = getVUser($dbh, $u, $d);
return $sth->rows();
to
return (getVUser($dbh,$u,$d))->rows();
a move from java->perl ;)
thanks,
-rkl
Haroon Rafique wrote:
Yes, the patch fixes the failing tests/sandbox violations. Find attached.
You get to break the 1.99_11-dev ice ;) Thanks, committed (with some more XXX
noise, so we get this to polish later)
SB>
SB> Another alternative is to introduce a new directory for Apache-Test:
SB> t
On Today at 4:12pm, SB=>Stas Bekman <[EMAIL PROTECTED]> wrote:
SB>
SB> Sure, please find all the files that miss the end lines and post a
SB> patch fixing them, which will gladly apply and try to remember to
SB> keeping them in place in the future.
Really its no big deal. Just one file which is
This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible. See
http://testers.cpan.org/
Please cc any replies to [EMAIL PROTECTED] to keep other
test volunteers informed and to prevent any duplicate effort.
--
E:\new\mod_perl-1.99_10>
Matisse Enzer wrote:
my $uri = APR::URI->parse;
I want to find out what the scheme (http, https) was for the current
request.
APR::URI->parse($r->pool, $r->uri)->scheme;
I also want to find out (and maybe set) the path_info
What's the right way to do this?
$path_info = $r->path_info;
$r->p
Title: mod_perl 2: APR::URI scheme and
path_info
my $uri = APR::URI->parse;
I want to find out what the scheme (http, https) was for the
current request.
I also want to find out (and maybe set) the path_info
What's the right way to do this?
--
On Wed, 2003-10-01 at 18:56, Dave Rolsky wrote:
> On Wed, 1 Oct 2003, Javier Alvarado wrote:
>
> > 2) Make sure the session is untied after *every* request (i.e. even if
> > a request is aborted, an error occurs in the middle, etc). Otherwise,
> > when the next request tries to tie it it w
Haroon Rafique wrote:
On Today at 2:42pm, SB=>Stas Bekman <[EMAIL PROTECTED]> wrote:
SB> > Comments are welcome. And we really should have a newline at the end of
SB> > ModPerl-Registry/t/conf/extra.conf.in
SB>
SB> certainly, but does it break anything?
SB>
Hi Stas,
Doesn't break anything real
On Wed, 1 Oct 2003, Javier Alvarado wrote:
> 2) Make sure the session is untied after *every* request (i.e. even if
> a request is aborted, an error occurs in the middle, etc). Otherwise,
> when the next request tries to tie it it will block.
With MasonX::Request::WithApacheSession, this
On Today at 2:42pm, SB=>Stas Bekman <[EMAIL PROTECTED]> wrote:
SB> > Comments are welcome. And we really should have a newline at the end of
SB> > ModPerl-Registry/t/conf/extra.conf.in
SB>
SB> certainly, but does it break anything?
SB>
Hi Stas,
Doesn't break anything really, but when I was usi
Haroon Rafique wrote:
Hi,
Find attached (and inline) a patch for smoother running of "make test"
when running as a non-privileged user. This issue came to light while
running Gentoo Linux. The Gentoo package system "portage" has the ability
to run as a non-root user while building packages. Some
Hi,
Find attached (and inline) a patch for smoother running of "make test"
when running as a non-privileged user. This issue came to light while
running Gentoo Linux. The Gentoo package system "portage" has the ability
to run as a non-root user while building packages. Some file locations
were n
On Wed, 2003-10-01 at 16:23, Matisse Enzer wrote:
> I'm sticking a reference to the session hash in the Apache request object:
>
> $r->pnotes($auth_name => \%session );
>
> This is under mod_perl 2
>
> I'm doing this in the belief that the request object goes out of
> scope when Apache fini
Good Question. Does $r get freed after every request?
In any case, best is to install a PerlCleanupHandler and set untie
%$session in it.
On Wed, 2003-10-01 at 16:23, Matisse Enzer wrote:
> In answer to another question Perrin Harkins <[EMAIL PROTECTED]> wrote:
>
> > I suggest you go over the co
I don't know for sure what may be causing the lockups, but I can think
of two things to try:
1) Use Transaction => 1 when tieing your session.
2) Make sure the session is untied after *every* request (i.e. even if
a request is aborted, an error occurs in the middle, etc). Otherwise,
when t
In answer to another question Perrin Harkins <[EMAIL PROTECTED]> wrote:
I suggest you go over the code where you use the session hash very
carefully and make sure it goes out of scope at the end.
I'm sticking a reference to the session hash in the Apache request object:
$r->pnotes($auth_name
On Wed, 2003-10-01 at 15:53, Dan McCormick wrote:
> Each day, a few dozen httpds get stuck waiting for locks on the
> Apache::Session files.
...
> I've set things up per the MasonX::Request::WithApacheSession docs and
> sample files, and I'm not doing anything particularly extraordinary with
> the
Hi,
I have an Apache 1.3.27/modperl 1.27 site using HTML::Mason 1.20 with
MasonX::Request::WithApacheSession 0.23 on a Redhat 7.3 system. The
site gets about 5,000 hits/day.
Each day, a few dozen httpds get stuck waiting for locks on the
Apache::Session files. An lsof on the Apache pids reports
Matthew Hodgson wrote:
Hi all,
I just upgraded from Apache 1.27/mod_perl 1.27 to Apache 1.28/mod_perl
1.28 and am noticing some weird behaviour on Apache::Registry scripts -
executing a Registry script ( /webroot/www.domain.com/perl/test.pl ) by
calling a URL such as:
http://www.domain.com/perl/
Hi all,
I just upgraded from Apache 1.27/mod_perl 1.27 to Apache 1.28/mod_perl
1.28 and am noticing some weird behaviour on Apache::Registry scripts -
executing a Registry script ( /webroot/www.domain.com/perl/test.pl ) by
calling a URL such as:
http://www.domain.com/perl/test.pl/movies/image/123
Just for the archives, I'm using mp2 (usually fairly recent CVS
pulls) in production on a number of sites I'm hosting on a NetBSD
server. These include my cycling coaching website : www.aboc.com.au
which uses Template::Toolkit, mp2, my own authentication
stuff (not a handler, yet :) ) and MySQL as
22 matches
Mail list logo