Constant subroutine redefined at Apache/PerlRun.pm line 360

This is a multi-part message in MIME format.

------_=_NextPart_001_01CBA6F3.50052750
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi All



I am migrating Perl 5.005 to 5.12.2, Apache 1.3.9 to 1.3.42 and mod_perl
1.21 to 1.31. But I am getting following warnings in error_log file.



Message in error_log:



Constant subroutine Apache::ROOT::xxxxxx redefined at
~/lib/perl5/site_perl/5.12.2/sun4-solaris-64int/Apache/PerlR un.pm line
360.



Can anyone let me know how to get rid of above warning messages.



Thanks in advance for your help!







Regards

Sudhakar




------_=_NextPart_001_01CBA6F3.50052750
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" =
xmlns:p=3D"urn:schemas-microsoft-com:office:powerpoint" =
xmlns:a=3D"urn:schemas-microsoft-com:office:access" =
xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" =
xmlns:s=3D"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" =
xmlns:rs=3D"urn:schemas-microsoft-com:rowset" xmlns:z=3D"#RowsetSchema" =
xmlns:b=3D"urn:schemas-microsoft-com:office:publisher" =
xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadsheet" =
xmlns:c=3D"urn:schemas-microsoft-com:office:component:spread sheet" =
xmlns:odc=3D"urn:schemas-microsoft-com:office:odc" =
xmlns:oa=3D"urn:schemas-microsoft-com:office:activation" =
xmlns:html=3D"http://www.w3.org/TR/REC-html40" =
xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" =
xmlns:rtc=3D"http://microsoft.com/officenet/conferencing" =
xmlns:D=3D"DAV:" xmlns:Repl=3D"http://schemas.microsoft.com/repl/" =
xmlns:mt=3D"http://schemas.microsoft.com/sharepoint/soap/mee tings/" =
xmlns:x2=3D"http://schemas.microsoft.com/office/excel/2003/x ml" =
xmlns:ppda=3D"http://www.passport.com/NameSpace.xsd" =
xmlns:ois=3D"http://schemas.microsoft.com/sharepoint/soap/oi s/" =
xmlns:dir=3D"http://schemas.microsoft.com/sharepoint/soap/di rectory/" =
xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#" =
xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" =
xmlns:udc=3D"http://schemas.microsoft.com/data/udc" =
xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" =
xmlns:sub=3D"http://schemas.microsoft.com/sharepoint/soap/20 02/1/alerts/"=
xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" =
xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" =
xmlns:sps=3D"http://schemas.microsoft.com/sharepoint/soap/" =
xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" =
xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/soap" =
xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile " =
xmlns:udcp2p=3D"http://schemas.microsoft.com/data/udc/partto part" =
xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/wor kflow/" =
xmlns:dsss=3D"http://schemas.microsoft.com/office/2006/digsi g-setup" =
xmlns:dssi=3D"http://schemas.microsoft.com/office/2006/digsi g" =
xmlns:mdssi=3D"http://schemas.openxmlformats.org/package/200 6/digital-sig=
nature" =
xmlns:mver=3D"http://schemas.openxmlformats.org/markup-compa tibility/2006=
" xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns:mrels=3D"http://schemas.openxmlformats.org/package/200 6/relationshi=
ps" xmlns:spwp=3D"http://microsoft.com/sharepoint/webpartpages" =
xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/service s/2006/types"=
=
xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/service s/2006/messag=
es" =
xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/ SlideLibrary/=
" =
xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPor talServer/Pub=
lishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" =
xmlns:st=3D"" xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
[at] font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Arial","sans-serif";
color:blue;}
..MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
[at] page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Hi All<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'><o:p> </o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>I am migrating Perl 5.005 to 5.12.2, Apache 1.3.9 to 1.3.42 =
and
mod_perl 1.21 to 1.31. But I am getting following warnings in error_log =
file. <o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'><o:p> </o:p></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><b><span =
style=3D'font-size:10.0pt;
font-family:"Arial","sans-serif";color:#00B050'>Message in =
error_log:<o:p></o:p></span></b></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><b><span =
style=3D'font-size:10.0pt;
font-family:"Arial","sans-serif";color:#00B050'><o:p> </o:p></span><=
/b></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;
font-family:"Arial","sans-serif";color:#00B050'>Constant subroutine
Apache::ROOT::xxxxxx redefined at =
~/lib/perl5/site_perl/5.12.2/sun4-solaris-64int/Apache/PerlR un.pm
line 360.<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'><o:p> </o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Can anyone let me know how to get rid of above warning =
messages.<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'><o:p> </o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Thanks in advance for your help!<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'><o:p> </o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'><o:p> </o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'><o:p> </o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'color:blue'>Regards<o:p></o:p></span></p>

<p class=3DMsoNormal><b><span =
style=3D'color:blue'>Sudhakar<o:p></o:p></span></b></p>

<p class=3DMsoNormal><o:p> </o:p></p>

</div>

</body>

</html>

------_=_NextPart_001_01CBA6F3.50052750--
Sudhakara.Peram [ Mi, 29 Dezember 2010 01:56 ] [ ID #2052181 ]

Re: Constant subroutine redefined at Apache/PerlRun.pm line 360

On Tue, Dec 28, 2010 at 4:56 PM, Peram, Sudhakara
<Sudhakara.Peram [at] pfizer.com> wrote:
> Hi All
>
>
>
> I am migrating Perl 5.005 to 5.12.2, Apache 1.3.9 to 1.3.42 and mod_perl
> 1.21 to 1.31. But I am getting following warnings in error_log file.

For what it is worth, you may want to upgrade to Apache 2.2.x and
mod_perl 2.0.4 instead. The Apache 1.xx version line has been end of
lifed for almost a year now. This doesn't mean you won't get help
from this list for mod_perl1, but if you are going to upgrade now,
consider mod_perl2 instead.

http://httpd.apache.org/

"Apache httpd 1.3.42 is the final stable version of the 1.3 series,
which was released and declared end of life on February 2nd, 2010. No
further development or maintenance will occur for the 1.3 series."

>
>
>
> Message in error_log:
>
>
>
> Constant subroutine Apache::ROOT::xxxxxx redefined at
> ~/lib/perl5/site_perl/5.12.2/sun4-solaris-64int/Apache/PerlR un.pm line 360.
>
>
>
> Can anyone let me know how to get rid of above warning messages.
>
>
>
> Thanks in advance for your help!
>
>
>
>
>
>
>
> Regards
>
> Sudhakar
>
>
Fred Moyer [ Mi, 29 Dezember 2010 02:14 ] [ ID #2052183 ]

RE: Constant subroutine redefined at Apache/PerlRun.pm line 360

This is a multi-part message in MIME format.

------_=_NextPart_001_01CBA6F6.6EC276B8
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Thank you Fred Moyer for your response.



As per our application architecture we need to ENV variables from perl
script to another perl script and the same feature is disabled in
Apache2 & mod_perl2. Because of this reason we are stick to mod_perl1.
Before sticking to mod_per1, I tried with mod_perl2 also and I am
getting same messages in error_log.



Can you please help me to get rid of this.





Regards

Sudhakar



-----Original Message-----
From: Fred Moyer [mailto:fred [at] redhotpenguin.com]
Sent: Tuesday, December 28, 2010 8:15 PM
To: Peram, Sudhakara
Cc: modperl [at] perl.apache.org
Subject: Re: Constant subroutine redefined at Apache/PerlRun.pm line 360



On Tue, Dec 28, 2010 at 4:56 PM, Peram, Sudhakara

<Sudhakara.Peram [at] pfizer.com> wrote:

> Hi All

>

>

>

> I am migrating Perl 5.005 to 5.12.2, Apache 1.3.9 to 1.3.42 and
mod_perl

> 1.21 to 1.31. But I am getting following warnings in error_log file.



For what it is worth, you may want to upgrade to Apache 2.2.x and

mod_perl 2.0.4 instead. The Apache 1.xx version line has been end of

lifed for almost a year now. This doesn't mean you won't get help

from this list for mod_perl1, but if you are going to upgrade now,

consider mod_perl2 instead.



http://httpd.apache.org/



"Apache httpd 1.3.42 is the final stable version of the 1.3 series,

which was released and declared end of life on February 2nd, 2010. No

further development or maintenance will occur for the 1.3 series."



>

>

>

> Message in error_log:

>

>

>

> Constant subroutine Apache::ROOT::xxxxxx redefined at

> ~/lib/perl5/site_perl/5.12.2/sun4-solaris-64int/Apache/PerlR un.pm line
360.

>

>

>

> Can anyone let me know how to get rid of above warning messages.

>

>

>

> Thanks in advance for your help!

>

>

>

>

>

>

>

> Regards

>

> Sudhakar

>

>


------_=_NextPart_001_01CBA6F6.6EC276B8
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" =
xmlns:p=3D"urn:schemas-microsoft-com:office:powerpoint" =
xmlns:a=3D"urn:schemas-microsoft-com:office:access" =
xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" =
xmlns:s=3D"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" =
xmlns:rs=3D"urn:schemas-microsoft-com:rowset" xmlns:z=3D"#RowsetSchema" =
xmlns:b=3D"urn:schemas-microsoft-com:office:publisher" =
xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadsheet" =
xmlns:c=3D"urn:schemas-microsoft-com:office:component:spread sheet" =
xmlns:odc=3D"urn:schemas-microsoft-com:office:odc" =
xmlns:oa=3D"urn:schemas-microsoft-com:office:activation" =
xmlns:html=3D"http://www.w3.org/TR/REC-html40" =
xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" =
xmlns:rtc=3D"http://microsoft.com/officenet/conferencing" =
xmlns:D=3D"DAV:" xmlns:Repl=3D"http://schemas.microsoft.com/repl/" =
xmlns:mt=3D"http://schemas.microsoft.com/sharepoint/soap/mee tings/" =
xmlns:x2=3D"http://schemas.microsoft.com/office/excel/2003/x ml" =
xmlns:ppda=3D"http://www.passport.com/NameSpace.xsd" =
xmlns:ois=3D"http://schemas.microsoft.com/sharepoint/soap/oi s/" =
xmlns:dir=3D"http://schemas.microsoft.com/sharepoint/soap/di rectory/" =
xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#" =
xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" =
xmlns:udc=3D"http://schemas.microsoft.com/data/udc" =
xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" =
xmlns:sub=3D"http://schemas.microsoft.com/sharepoint/soap/20 02/1/alerts/"=
xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" =
xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" =
xmlns:sps=3D"http://schemas.microsoft.com/sharepoint/soap/" =
xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" =
xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/soap" =
xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile " =
xmlns:udcp2p=3D"http://schemas.microsoft.com/data/udc/partto part" =
xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/wor kflow/" =
xmlns:dsss=3D"http://schemas.microsoft.com/office/2006/digsi g-setup" =
xmlns:dssi=3D"http://schemas.microsoft.com/office/2006/digsi g" =
xmlns:mdssi=3D"http://schemas.openxmlformats.org/package/200 6/digital-sig=
nature" =
xmlns:mver=3D"http://schemas.openxmlformats.org/markup-compa tibility/2006=
" xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns:mrels=3D"http://schemas.openxmlformats.org/package/200 6/relationshi=
ps" xmlns:spwp=3D"http://microsoft.com/sharepoint/webpartpages" =
xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/service s/2006/types"=
=
xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/service s/2006/messag=
es" =
xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/ SlideLibrary/=
" =
xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPor talServer/Pub=
lishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" =
xmlns:st=3D"" xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Arial","sans-serif";}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Arial","sans-serif";}
..MsoChpDefault
{mso-style-type:export-only;}
[at] page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoPlainText><span style=3D'color:blue'>Thank you Fred Moyer =
for your
response.<o:p></o:p></span></p>

<p class=3DMsoPlainText><span =
style=3D'color:blue'><o:p> </o:p></span></p>

<p class=3DMsoPlainText><span style=3D'color:blue'>As per our =
application
architecture we need to ENV variables from perl script to another perl =
script
and the same feature is disabled in Apache2 & mod_perl2. Because of =
this
reason we are stick to mod_perl1. Before sticking to mod_per1, I tried =
with
mod_perl2 also and I am getting same messages in =
error_log.<o:p></o:p></span></p>

<p class=3DMsoPlainText><span =
style=3D'color:blue'><o:p> </o:p></span></p>

<p class=3DMsoPlainText><span style=3D'color:blue'>Can you please help =
me to get
rid of this.<o:p></o:p></span></p>

<p class=3DMsoPlainText><span =
style=3D'color:blue'><o:p> </o:p></span></p>

<p class=3DMsoPlainText><span =
style=3D'color:blue'><o:p> </o:p></span></p>

<p class=3DMsoPlainText><span =
style=3D'color:blue'>Regards<o:p></o:p></span></p>

<p class=3DMsoPlainText><span =
style=3D'color:blue'>Sudhakar<o:p></o:p></span></p>

<p class=3DMsoPlainText><o:p> </o:p></p>

<p class=3DMsoPlainText>-----Original Message-----<br>
From: Fred Moyer [mailto:fred [at] redhotpenguin.com] <br>
Sent: Tuesday, December 28, 2010 8:15 PM<br>
To: Peram, Sudhakara<br>
Cc: modperl [at] perl.apache.org<br>
Subject: Re: Constant subroutine redefined at Apache/PerlRun.pm line =
360</p>

<p class=3DMsoPlainText><o:p> </o:p></p>

<p class=3DMsoPlainText>On Tue, Dec 28, 2010 at 4:56 PM, Peram, =
Sudhakara<o:p></o:p></p>

<p class=3DMsoPlainText><Sudhakara.Peram [at] pfizer.com> =
wrote:<o:p></o:p></p>

<p class=3DMsoPlainText>> Hi All<o:p></o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>> I am migrating Perl 5.005 to 5.12.2, Apache =
1.3.9 to
1.3.42 and mod_perl<o:p></o:p></p>

<p class=3DMsoPlainText>> 1.21 to 1.31. But I am getting following =
warnings in
error_log file.<o:p></o:p></p>

<p class=3DMsoPlainText><o:p> </o:p></p>

<p class=3DMsoPlainText>For what it is worth, you may want to upgrade to =
Apache
2.2.x and<o:p></o:p></p>

<p class=3DMsoPlainText>mod_perl 2.0.4 instead.  The Apache 1.xx =
version line has
been end of<o:p></o:p></p>

<p class=3DMsoPlainText>lifed for almost a year now.  This doesn't =
mean you won't
get help<o:p></o:p></p>

<p class=3DMsoPlainText>from this list for mod_perl1, but if you are =
going to
upgrade now,<o:p></o:p></p>

<p class=3DMsoPlainText>consider mod_perl2 instead.<o:p></o:p></p>

<p class=3DMsoPlainText><o:p> </o:p></p>

<p class=3DMsoPlainText>http://httpd.apache.org/<o:p></o:p></p>

<p class=3DMsoPlainText><o:p> </o:p></p>

<p class=3DMsoPlainText>"Apache httpd 1.3.42 is the final stable =
version of
the 1.3 series,<o:p></o:p></p>

<p class=3DMsoPlainText>which was released and declared end of life on =
February
2nd, 2010. No<o:p></o:p></p>

<p class=3DMsoPlainText>further development or maintenance will occur =
for the 1.3
series."<o:p></o:p></p>

<p class=3DMsoPlainText><o:p> </o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>> Message in error_log:<o:p></o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>> Constant subroutine Apache::ROOT::xxxxxx =
redefined
at<o:p></o:p></p>

<p class=3DMsoPlainText>>
~/lib/perl5/site_perl/5.12.2/sun4-solaris-64int/Apache/PerlR un.pm line =
360.<o:p></o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>> Can anyone let me know how to get rid of =
above
warning messages.<o:p></o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>> Thanks in advance for your =
help!<o:p></o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>> Regards<o:p></o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>> Sudhakar<o:p></o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

<p class=3DMsoPlainText>><o:p> </o:p></p>

</div>

</body>

</html>

------_=_NextPart_001_01CBA6F6.6EC276B8--
Sudhakara.Peram [ Mi, 29 Dezember 2010 02:19 ] [ ID #2052184 ]

Re: Constant subroutine redefined at Apache/PerlRun.pm line 360

On Tue, Dec 28, 2010 at 5:19 PM, Peram, Sudhakara
<Sudhakara.Peram [at] pfizer.com> wrote:
> As per our application architecture we need to ENV variables from perl
> script to another perl script and the same feature is disabled in Apache2=
&
> mod_perl2. Because of this reason we are stick to mod_perl1. Before stick=
ing
> to mod_per1, I tried with mod_perl2 also and I am getting same messages i=
n
> error_log.

The warning itself looks fairly harmless, it is probably occurring
because the interpreter is reloading your script.

I'm not that knowledgeable on using PerlRun, but this presentation has
some examples you may find helpful:

http://ectoplasm.org/Talks/mod_perl-2.0-from-cgi-fast.pdf

You can probably also put the following statement at the top of your
script after use warnings:

no warnings 'undefined';

I would need to see the relevant code and httpd.conf sections to be of
any more help.

>
>
>
> Can you please help me to get rid of this.
>
>
>
>
>
> Regards
>
> Sudhakar
>
>
>
> -----Original Message-----
> From: Fred Moyer [mailto:fred [at] redhotpenguin.com]
> Sent: Tuesday, December 28, 2010 8:15 PM
> To: Peram, Sudhakara
> Cc: modperl [at] perl.apache.org
> Subject: Re: Constant subroutine redefined at Apache/PerlRun.pm line 360
>
>
>
> On Tue, Dec 28, 2010 at 4:56 PM, Peram, Sudhakara
>
> <Sudhakara.Peram [at] pfizer.com> wrote:
>
>> Hi All
>
>>
>
>>
>
>>
>
>> I am migrating Perl 5.005 to 5.12.2, Apache 1.3.9 to 1.3.42 and mod_perl
>
>> 1.21 to 1.31. But I am getting following warnings in error_log file.
>
>
>
> For what it is worth, you may want to upgrade to Apache 2.2.x and
>
> mod_perl 2.0.4 instead.=A0 The Apache 1.xx version line has been end of
>
> lifed for almost a year now.=A0 This doesn't mean you won't get help
>
> from this list for mod_perl1, but if you are going to upgrade now,
>
> consider mod_perl2 instead.
>
>
>
> http://httpd.apache.org/
>
>
>
> "Apache httpd 1.3.42 is the final stable version of the 1.3 series,
>
> which was released and declared end of life on February 2nd, 2010. No
>
> further development or maintenance will occur for the 1.3 series."
>
>
>
>>
>
>>
>
>>
>
>> Message in error_log:
>
>>
>
>>
>
>>
>
>> Constant subroutine Apache::ROOT::xxxxxx redefined at
>
>> ~/lib/perl5/site_perl/5.12.2/sun4-solaris-64int/Apache/PerlR un.pm line
>> 360.
>
>>
>
>>
>
>>
>
>> Can anyone let me know how to get rid of above warning messages.
>
>>
>
>>
>
>>
>
>> Thanks in advance for your help!
>
>>
>
>>
>
>>
>
>>
>
>>
>
>>
>
>>
>
>> Regards
>
>>
>
>> Sudhakar
>
>>
>
>>
Fred Moyer [ Mi, 29 Dezember 2010 02:25 ] [ ID #2052185 ]

RE: Constant subroutine redefined at Apache/PerlRun.pm line 360

Thank you Fred Moyer!



-----Original Message-----
From: Fred Moyer [mailto:fred [at] redhotpenguin.com]
Sent: Tuesday, December 28, 2010 8:25 PM
To: Peram, Sudhakara
Cc: modperl [at] perl.apache.org
Subject: Re: Constant subroutine redefined at Apache/PerlRun.pm line 360

On Tue, Dec 28, 2010 at 5:19 PM, Peram, Sudhakara
<Sudhakara.Peram [at] pfizer.com> wrote:
> As per our application architecture we need to ENV variables from perl
> script to another perl script and the same feature is disabled in =
Apache2 &
> mod_perl2. Because of this reason we are stick to mod_perl1. Before =
sticking
> to mod_per1, I tried with mod_perl2 also and I am getting same =
messages in
> error_log.

The warning itself looks fairly harmless, it is probably occurring
because the interpreter is reloading your script.

I'm not that knowledgeable on using PerlRun, but this presentation has
some examples you may find helpful:

http://ectoplasm.org/Talks/mod_perl-2.0-from-cgi-fast.pdf

You can probably also put the following statement at the top of your
script after use warnings:

no warnings 'undefined';

I would need to see the relevant code and httpd.conf sections to be of
any more help.

>
>
>
> Can you please help me to get rid of this.
>
>
>
>
>
> Regards
>
> Sudhakar
>
>
>
> -----Original Message-----
> From: Fred Moyer [mailto:fred [at] redhotpenguin.com]
> Sent: Tuesday, December 28, 2010 8:15 PM
> To: Peram, Sudhakara
> Cc: modperl [at] perl.apache.org
> Subject: Re: Constant subroutine redefined at Apache/PerlRun.pm line =
360
>
>
>
> On Tue, Dec 28, 2010 at 4:56 PM, Peram, Sudhakara
>
> <Sudhakara.Peram [at] pfizer.com> wrote:
>
>> Hi All
>
>>
>
>>
>
>>
>
>> I am migrating Perl 5.005 to 5.12.2, Apache 1.3.9 to 1.3.42 and =
mod_perl
>
>> 1.21 to 1.31. But I am getting following warnings in error_log file.
>
>
>
> For what it is worth, you may want to upgrade to Apache 2.2.x and
>
> mod_perl 2.0.4 instead.=A0 The Apache 1.xx version line has been end =
of
>
> lifed for almost a year now.=A0 This doesn't mean you won't get help
>
> from this list for mod_perl1, but if you are going to upgrade now,
>
> consider mod_perl2 instead.
>
>
>
> http://httpd.apache.org/
>
>
>
> "Apache httpd 1.3.42 is the final stable version of the 1.3 series,
>
> which was released and declared end of life on February 2nd, 2010. No
>
> further development or maintenance will occur for the 1.3 series."
>
>
>
>>
>
>>
>
>>
>
>> Message in error_log:
>
>>
>
>>
>
>>
>
>> Constant subroutine Apache::ROOT::xxxxxx redefined at
>
>> ~/lib/perl5/site_perl/5.12.2/sun4-solaris-64int/Apache/PerlR un.pm =
line
>> 360.
>
>>
>
>>
>
>>
>
>> Can anyone let me know how to get rid of above warning messages.
>
>>
>
>>
>
>>
>
>> Thanks in advance for your help!
>
>>
>
>>
>
>>
>
>>
>
>>
>
>>
>
>>
>
>> Regards
>
>>
>
>> Sudhakar
>
>>
>
>>
Sudhakara.Peram [ Mi, 29 Dezember 2010 03:05 ] [ ID #2052186 ]
Webserver » gmane.comp.apache.mod-perl » Constant subroutine redefined at Apache/PerlRun.pm line 360

Vorheriges Thema: Re: You can call me code elf (was: [RELEASE CANDIDATE]Apache-Test-1.34 RC1)
Nächstes Thema: Set AuthName to prompt for sequential passwords