in reply to Re^2: Escaping Wide Charactersin thread Escaping Wide Characters
You need to put double quotes around the string, e.g.
my $x = '\x{263a}'; my $y = eval '"'.$x.'"'; # or my $y = eval "\"$x\""; [download]