httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: perl 5.12 / mod_perl
Date Thu, 06 May 2010 13:06:35 GMT
On Thu, May 6, 2010 at 8:48 AM, tech_list <tech_list@womenshealth.com>wrote:

> Thanks!
> Line 96:
> if ($pos >= $[) {         if ($pos >= 0) {
>
> I think this should be changed back.  It is only assignment of $[ that is
> deprecated, correct?
>

My 2cents: If you don't assign to $[ then $[ must be 0 in this Perl source
file.  And comparing with 0 instead of $[ is understandable to more people.


> On May 6, 2010, at 7:45 AM, Jeff Trawick wrote:
>
> 2010/5/6 Torsten Förtsch <torsten.foertsch@gmx.net>:
>
> On Thursday 06 May 2010 13:53:37 tech_list wrote:
>
> [  error] '/usr/local/apache2/bin/apxs -q NOTEST_CPPFLAGS' failed:
>
> [  error] Use of assignment to $[ is deprecated at
>
> /usr/local/apache2/bin/apxs line 86.
>
>
> Okay, I see. My apxs starts with
>
>
>  #!/usr/bin/perl -w
>
>
> and this perl is still 5.10.0.
>
>
> Nevertheless apxs is not part of modperl. Best you'd file bug against
> httpd.
>
>
> In the meantime simply delete line 86 in apxs. $[ is 0 per default. So,
>
> C<local $[=0> is useless. It's usage has been deprecated for a long time.
>
>
> Here's the committed httpd fix:
>
>
> http://svn.apache.org/viewvc/httpd/httpd/trunk/support/apxs.in?r1=807930&r2=932791&diff_format=h
>
> It should be in the next 2.2.x release.
>
>
>


-- 
Born in Roswell... married an alien...

Mime
View raw message