On Wed, 11 Jul 2001 12:44:01 PDT, Joshua Chamas wrote:
>Hey perl porters & Apache::ASP list:
>
>This parser optimization, released in Apache::ASP 2.11,
>broke Apache::ASP under perl 5.6.1 ( + 5.7.1 I'm guessing
>from a cpan-testers FAIL report )
>
>sub Apache::ASP::ParseHelper {
> ...
> while($$data =~ /(.*?)\<\%(.*?)\%\>/gso) {
>
>putting back in the old code made things work again,
>so I'll have to resurrect this in 2.15:
>
> while($$data =~ s/^(.*?)\<\%(.*?)\%\>//gso) {
I quote from perl-5.6.1.announce:
:Known Issues
:----------------------------------------------------------------------------
:
:Issues that arise with Perl releases are fixed as they become known to us.
:Individual patches to problems in Perl 5.6.1 (referenced by patch numbers
:below) are usually available here:
:
: http://public.ActiveState.com/gsar/APC/5.6.2/diffs/
:
:Patches that affect the same files should be applied in order, using the
:GNU patch utility. For example:
:
: cd perl-5.6.1
: gzip -cd 1234.gz | patch -lNp1
:
:Please be aware that, in general, these patches are NOT as thoroughly
:tested as the release itself. Use at your own risk.
:
:The following issues have come to light since Perl 5.6.1 was released:
:
: + A somewhat obscure case of overeager optimization in the regular
: expression engine has been reported. The problem may affect you
: if you are matching unanchored patterns with the C</sg> modifiers
: and without also using the C<\G> escape. Patch 9675 cures this
: problem by reverting the optimization.
So I think you may want to try:
http://public.ActiveState.com/gsar/APC/5.6.2/diffs/9675.gz
HTH,
Sarathy
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]