in reply to Re^2: Escaping Wide Characters
in 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\"";