$0 problem with mp1

[prev] [thread] [next] [Date index for 2004/11/27]

From: Pratik
Subject: $0 problem with mp1
Date: 09:09 on 27 Nov 2004
Hi !

I am using Apache/1.3.33 and Mod-Perl 1.29. I have following httpd.conf file.

====
ServerRoot "/home/pvnaik/lab/mp1"
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
DocumentRoot "/home/pvnaik/lab/mp1/htdocs"
ErrorLog logs/error_log
Port 50505

<Perl>
*0 = "MyApache::Parent";
</Perl>
====

Now if I do 'ps', I don't see the new name of the process. Also, I get
segmentation fault if I try to use $0 instead of *0.

Regards,
Pratik

        -- 
        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

$0 problem with mp1
Pratik 09:09 on 27 Nov 2004

Re: $0 problem with mp1
Stas Bekman 00:45 on 02 Dec 2004

Re: $0 problem with mp1
Pratik 06:35 on 02 Dec 2004

Re: $0 problem with mp1
Stas Bekman 15:25 on 02 Dec 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52