Re: $0 ?

[prev] [thread] [next] [Date index for 2004/10/29]

From: Pratik
Subject: Re: $0 ?
Date: 20:21 on 29 Oct 2004
I don't know about mp2. But in mp1, I tried to assign some value to $0
in PerlChildInitHandler, and it gave segmentation fault. I haven't
looked into it in details. I'd like to know if this is a known issue
or not.

-Pratik


On Fri, 29 Oct 2004 16:13:19 -0400, Stas Bekman <stas@xxxxxx.xxx> wrote:
> Torsten F=F6rtsch wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On Friday 29 October 2004 20:17, Stas Bekman wrote:
> >
> >>>perl allows to modify $0. Then top, ps & co would display the new proc=
ess
> >>>title. Can the process title of a mod_perl modified apache be set this
> >>>way?
> >>
> >>What is it that you are trying to do? Change $0 and affect the way it's
> >>seen from the outside?
> >
> >
> > yes. I have some requests with postprocessing. I want to know, what pro=
cesses
> > are affected.
> >
> >
> >>Take a look at this commit, which might be of some relevance:
> >>http://marc.theaimsgroup.com/?l=3Dapache-modperl-cvs&m=3D10767226801204=
2&w=3D2
> >
> >
> > But I see, it is not supported.
>=20
> Due to internal Apache corruptions, no.
>=20
>=20
>=20
>=20
> --
> __________________________________________________________________
> Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
> http://stason.org/     mod_perl Guide ---> http://perl.apache.org
> mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
> http://modperlbook.org http://apache.org   http://ticketmaster.com
>=20
> --
> Report problems: http://perl.apache.org/bugs/
> Mail list info: http://perl.apache.org/maillist/modperl.html
> List etiquette: http://perl.apache.org/maillist/email-etiquette.html
>=20
>

        -- 
        Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

(message missing)

$0 ?
Torsten =?iso-8859-1?q?F=F6rtsch?= 17:37 on 29 Oct 2004

Re: $0 ?
Stas Bekman 18:17 on 29 Oct 2004

Re: $0 ?
Torsten =?iso-8859-1?q?F=F6rtsch?= 18:40 on 29 Oct 2004

Re: $0 ?
Stas Bekman 20:13 on 29 Oct 2004

Re: $0 ?
Pratik 20:21 on 29 Oct 2004

Re: $0 ?
Torsten Foertsch 15:18 on 30 Dec 2004

Some tests failed: mod_perl-2.0.0-RC2-XMas on FC3
Patrick LeBoutillier 16:30 on 30 Dec 2004

Re: $0 ?
Stas Bekman 23:02 on 30 Dec 2004

Re: $0 ?
David Nicol 00:21 on 30 Oct 2004

Generated at 12:16 on 16 Jan 2005 by mariachi v0.52