Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Eval-WithLexicals CPAN distribution.

Report information
The Basics
Id: 124810
Status: new
Priority: 0/
Queue: Eval-WithLexicals

Owner: Nobody in particular
Requestors: bodenstorfer [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: eval sometimes fails for UTF8 code in arguments
Date: Sat, 17 Mar 2018 22:55:20 +0000 (UTC)
To: "bug-Eval-WithLexicals [...]" <bug-Eval-WithLexicals [...]>
From: Bernhard Bodenstorfer <bodenstorfer [...]>
Download (untitled) / with headers
text/plain 863b
Environment: Observed in Eval::WithLexicalsour $VERSION = '1.003006'; # v1.3.6 perl -vv5.26.1 Fedora Linux 4.15.8-300.fc27.i686 echo $LANG en_GB.utf8 --------------------------------------------------------------------------------Bug description: The attached Perl file calls Eval::WithLexicals' eval function on a code string containing three German umlaut characters ü and ä: my $slogan = "Schüssel für Säue."; This call results in an error: Unmatched right curly bracket at (eval) line 10, at end of line syntax error at (eval) line 10, near "}" despite no curly bracket being contained in the code string. The error goes away if any one of the three umlaut characters is deleted from the code string so that only two umlaut characters remain. Perl's built-in eval function works fine with the code string despite three umlaut characters.
text/x-perl 196b

Message body is not shown because sender requested not to inline it.

Download perl-V.txt
text/plain 8.1k

Message body is not shown because sender requested not to inline it.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to