Re: perl 5.12 / mod_perl

Jeff Trawick <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
2010/5/6 Torsten Förtsch <[email protected]>:
> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.