my $x = '2+2'; my $y = eval $x; # $y is the string '4'