The URL
http://people.apache.org/~pgollucci/CPAN/Apache-DBI/Apache-DBI-0.9901.tar.gz
has entered CPAN as
file: $CPAN/authors/id/P/PG/PGOLLUCCI/Apache-DBI-0.9901.tar.gz
size: 31786 bytes
md5: 3651690e9d25b6634b9e5f554afa7f5e
No action is required on your part
Request entered by: PGOLLUCC
On Fri, 2005-08-19 at 20:55 -0400, Christopher H. Laco wrote:
> So, changing to
>
> package MyMod;
>
> my @context;
> sub dosomething {
> push @context;
> #...do other stuff..
> };
> sub pushcontext {
> push @context, shift;
> };
>
> 1;
>
>
> Woudld fix th
On Fri, 2005-08-19 at 21:23 -0400, Christopher H. Laco wrote:
> Ah does that closure become a global?
>
> package MyApp;
> {
>
> };
>
>
> &MyApp::__ANON__ (ish)?
Not exactly, but it does persist the value of @context. That's what
closures do.
> Makes sense now that I think about it.
> So
On Fri, 2005-08-19 at 21:52 -0500, Boysenberry Payne wrote:
> Any ideas?
Don't run "make test"?
You can get general Perl help at http://perlmonks.org or on many other
mailing lists described here: http://lists.cpan.org/
- Perrin
I'm having difficulty installing Devel::LeakTrace during Build test.
I'm not sure which mailing list I should get on to find out about how
find out about the tests and see if I can't get it installed.
Any ideas?
Thanks,
Boysenberry
boysenberrys.com | habitatlife.com | selfgnosis.com
there was a lot of talk on this about 2 weeks ago
for those who were battling with this:
http://www.justatheory.com/bricolage/1.9.0.html
and
http://search.cpan.org/dist/PHP-Interpreter/
A friend (I'll protect his identity) commented:
holy fuckstick
that makes the baby jesus cry
Perrin Harkins wrote:
On Fri, 2005-08-19 at 20:24 -0400, Christopher H. Laco wrote:
I'm assuming that each tome dosomething() changes @contect, it's only
changing @contect for that MP child process.
Correct. However, dosomething() is a closure in your code, so @context
will persist.
Ah...
Perrin Harkins wrote:
On Fri, 2005-08-19 at 20:24 -0400, Christopher H. Laco wrote:
I'm assuming that each tome dosomething() changes @contect, it's only
changing @contect for that MP child process.
Correct. However, dosomething() is a closure in your code, so @context
will persist.
So,
I've been trying to pass the STDOUT filehandle to subroutines, with
mixed success. Seems I should be able to do:
my $fh = \*STDOUT;
my_sub( $fh );
where my_sub is:
sub my_sub {
my ( $fh ) = @_;
print $fh "foobar\n";
}
I'm not getting any output at all, in fact the Apache process blocks
On Fri, 2005-08-19 at 20:24 -0400, Christopher H. Laco wrote:
> I'm assuming that each tome dosomething() changes @contect, it's only
> changing @contect for that MP child process.
Correct. However, dosomething() is a closure in your code, so @context
will persist.
> Now, I need to have another
Sometimes I think too hard about this I swear. :-)
Just a mini backgrounder...I have two AxKit Taglibs that run under
AxKit/mod_perl. Up till now, they've been seperate in terms of usage. I
now need to have one modify a value of the other. This has brought me to
wonder if what I've done is goi
On Aug 19, 2005, at 6:45 PM, Todd Finney wrote:
perldoc perldiag
Attempt to free unreferenced scalar
(W internal) Perl went to decrement the reference count of a
scalar
to see if it would go to 0, and discovered that it had
already gone
to 0 earlier, and shou
On Fri, 2005-08-19 at 18:40 -0500, Boysenberry Payne wrote:
> I turned off both:
>
> PerlFreshRestart On
Don't ever use that.
> PerlModule Apache::StatINC
> PerlInitHandler Apache::StatINC
Only use that in development, not on a production server.
Apache::Reload is the newer and better version.
I turned off both:
PerlFreshRestart On
PerlModule Apache::StatINC
PerlInitHandler Apache::StatINC
on the Linux server and still get the errors.
I'm going to look into Devel::Leak and Devel::LeakTrace
Thanks,
Boysenberry
boysenberrys.com | habitatlife.com | selfgnosis.com
On Aug 19, 2005, at
On Aug 19, 2005, at 4:10 PM, Philip M. Gollucci wrote:
I believe what you are seeing is a known bug in the Apache 1.3.x/mp1
series.
I don't think its your code.
I believe google searches will yeild this; I know I've seen it before.
I've found a lot of people mentioning similar errors when I
On Fri, 2005-08-19 at 16:02 -0500, Boysenberry Payne wrote:
> I still don't know how to track down the scalars
> being leaked.
> Could they be being caused from something like the following?
>
> sub example {
> return 1;
> }
> example;
No, I don't think so. You can try using things like D
Boysenberry Payne wrote:
So I figured out how to get the perl debugger working with mod_perl,
thanks to
Practical mod_perl. I still don't know how to track down the scalars
[Sun Feb 13 01:00:00 2000] null: Attempt to free unreferenced scalar.
...
I'm using mod_perl 1.26 and apache 1.3.33 (only
So I figured out how to get the perl debugger working with mod_perl,
thanks to
Practical mod_perl. I still don't know how to track down the scalars
being leaked.
Could they be being caused from something like the following?
sub example {
return 1;
}
example;
Because the the void conte
On Friday 19 August 2005 18:59, Philip M. Gollucci wrote:
> Can you combine your 2 e-mail patches into one patch set in one e-mail
> to make the life of who ever does easier? At least I think this is the
> second one.
Here it is.
Torsten
--- mod_perl-2.0.1/lib/Apache2/SizeLimit.pm~ 2005-04-26 2
Torsten Foertsch wrote:
On Monday 08 August 2005 01:30, Stas Bekman wrote:
It corrects some podchecker errors and warnings as well.
Hi,
Great work.
I'm not going to commit it as I don't have a linux bed readily available
to test on... Pretty sad for a guy that works with LAMP stacks :)
I'm
On Monday 08 August 2005 01:30, Stas Bekman wrote:
> Torsten Foertsch wrote:
> > Hi,
> >
> > the attached patch allows Apache2::SizeLimit to use the new
> > /proc/PID/smaps instead of /proc/PID/statm. This takes into account
> > copy-on-write pages when counting shared memory.
>
> Torsten++!
>
> Co
Stas Bekman wrote:
Philip M. Gollucci wrote:
[...]
Actually from the README,
*** Prerequisites ***
Apache:
Dynamic mod_perl (DSO):Apache 2.0.47 - 2.0.54.
Static mod_perl: Apache 2.0.51 - 2.0.54.
Newer Apache versions may work with this version of mod_perl. If
not, the
Tom Schindl wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I went back to my 2.0.40 install of Apache. The 2.0.54 was not playing
nice with plesk. How do I update the @INC path and/or mod_perl for the
new perl 5.8.7? I try using CPAN with install Bundle::Apache and no go.
Any ideas?
Philip M. Gollucci wrote:
[...]
Actually from the README,
*** Prerequisites ***
Apache:
Dynamic mod_perl (DSO):Apache 2.0.47 - 2.0.54.
Static mod_perl: Apache 2.0.51 - 2.0.54.
Newer Apache versions may work with this version of mod_perl. If
not, the svn version likely wil
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[EMAIL PROTECTED] wrote:
| On Thu, 18 Aug 2005, Steve Baker wrote:
|
| [ ... ]
|
|> This is my client now:
|>
|> use SOAP::Lite +trace => [qw(all)];
|>
|> my $soap = SOAP::Lite->uri('http:///Demo')
|> ~->proxy('http:///steve/rpc/')->on_fault(
|> ~
25 matches
Mail list logo