develooper Front page | perl.perl5.porters | Postings from July 2019

[perl #134246] Win32: Use of // after a successful /(?{})/ resultsin strange effect

Thread Previous
From:
Hauke D
Date:
July 1, 2019 17:25
Subject:
[perl #134246] Win32: Use of // after a successful /(?{})/ resultsin strange effect
Message ID:
rt-4.0.24-18096-1562001948-1481.134246-75-0@perl.org
# New Ticket Created by  Hauke D 
# Please include the string:  [perl #134246]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=134246 >


Hi,

As first reported by PerlMonks user Eily at 
http://www.perlmonks.org/?node_id=11102239 :

The output of the attached script under Linux, Perls 5.20.0 through 
5.30.0, is as expected:
--8<--
Regex!
Item: Bar
Item: Foo
Regex!
-->8--

However, under Strawberry Perl 5.30.0.1-64bit on Win 7, the output is:
--8<--
Regex!

Item: Bar

Item: Foo

Use of uninitialized value in say at strangebug.pl line 4.

Foo

-->8--

This seems to be some really strange memory (stack? dunno) issue that I 
can't further diagnose myself. I also haven't been able to make the 
example code much shorter yet.

Regards,
-- Hauke D

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About