Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: bodenstorfer [...] yahoo.co.uk
Cc:
AdminCc:

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 [...] rt.cpan.org" <bug-Eval-WithLexicals [...] rt.cpan.org>
From: Bernhard Bodenstorfer <bodenstorfer [...] yahoo.co.uk>
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 evalutf8.pl 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.
Download evalutf8.pl
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 Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.